Skip to content

Commit

Permalink
Added CHANGELOG, updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov committed Sep 5, 2024
1 parent 1c74742 commit 1bad4d3
Show file tree
Hide file tree
Showing 8 changed files with 149 additions and 148 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,13 @@ jobs:
- name: Create release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: See [CHANGELOG.md](./CHANGELOG.md) for the list of changes.
draft: false
prerelease: false

- name: Upload
if: startsWith(github.ref, 'refs/tags/v')
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "build/godnsbench-*.tar.gz;build/godnsbench-*.zip"
tags: true
draft: false
files: |
build/godnsbench-*.tar.gz
build/godnsbench-*.zip
5 changes: 2 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.3.0
with:
# This field is required. Dont set the patch version to always use
# the latest patch version.
version: v1.52.2
# This field is required.
version: v1.60.3
14 changes: 2 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@ run:
concurrency: 4

# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 2m

# which files to skip: they will be analyzed, but issues from them
# won't be reported. Default value is empty list, but there is
# no need to include all autogenerated files, we confidently recognize
# autogenerated files. If it's not please let us know.
skip-files:
- ".*generated.*"
- ".*_test.go"
timeout: 2m

# all available settings of specific linters
linters-settings:
Expand All @@ -28,8 +20,6 @@ linters:
- ineffassign
- staticcheck
- unused
- bodyclose
- depguard
- dupl
- gocyclo
- goimports
Expand Down Expand Up @@ -65,4 +55,4 @@ issues:
# We have a configuration option that allows to do this
- G402
# gosec: Use of weak random number generator
- G404
- G404
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# godnsbench changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog], and this project
adheres to [Semantic Versioning][semver].

[keepachangelog]: https://keepachangelog.com/en/1.0.0/

[semver]: https://semver.org/spec/v2.0.0.html

## [Unreleased]

### Changed

* Updated dependencies

[unreleased]: https://github.com/ameshkov/godnsbench/compare/v1.8.1...HEAD

## [1.8.1] - 2023-08-22

### Changed

* Disabled CGO

[See changes][1.8.1changes].

[1.8.1changes]: https://github.com/ameshkov/godnsbench/compare/v1.8...v1.8.1

[1.8.1]: https://github.com/ameshkov/godnsbench/releases/tag/v1.8.1

## Older versions

Their changelog can be found here on the [releases page][releases].

[releases]: https://github.com/ameshkov/godnsbench/releases
49 changes: 26 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
module github.com/ameshkov/godnsbench

go 1.18
go 1.22.6

toolchain go1.23.0

require (
github.com/AdguardTeam/dnsproxy v0.54.0
github.com/AdguardTeam/golibs v0.14.0
github.com/jessevdk/go-flags v1.5.0
github.com/miekg/dns v1.1.50
github.com/stretchr/testify v1.8.4
go.uber.org/ratelimit v0.2.0
github.com/AdguardTeam/dnsproxy v0.73.1
github.com/AdguardTeam/golibs v0.27.0
github.com/jessevdk/go-flags v1.6.1
github.com/miekg/dns v1.1.62
github.com/stretchr/testify v1.9.0
go.uber.org/ratelimit v0.3.1
)

require (
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/aead/poly1305 v0.0.0-20180717145839-3fee0db0b635 // indirect
github.com/ameshkov/dnscrypt/v2 v2.2.6 // indirect
github.com/ameshkov/dnscrypt/v2 v2.3.0 // indirect
github.com/ameshkov/dnsstamps v1.0.3 // indirect
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0 // indirect
github.com/benbjohnson/clock v1.3.5 // indirect
github.com/bluele/gcache v0.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/google/pprof v0.0.0-20230111200839-76d1ae5aea2b // indirect
github.com/onsi/ginkgo/v2 v2.9.5 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/google/pprof v0.0.0-20240903155634-a8630aee4ab9 // indirect
github.com/onsi/ginkgo/v2 v2.20.2 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/quic-go/qtls-go1-20 v0.3.1 // indirect
github.com/quic-go/quic-go v0.37.4 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/exp v0.0.0-20230807204917-050eac23e9de // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/tools v0.9.1 // indirect
github.com/quic-go/qpack v0.5.0 // indirect
github.com/quic-go/quic-go v0.46.0 // indirect
go.uber.org/mock v0.4.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/tools v0.24.0 // indirect
gonum.org/v1/gonum v0.14.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 1bad4d3

Please sign in to comment.