diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fac73f3..52d83e7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,17 +6,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.23", "1.24"] + go: ["1.24", "1.25"] steps: - name: Set up Go - uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 #v5.3.0 + uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c #v6.1.0 with: go-version: ${{ matrix.go }} - name: Check out source - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0 - name: Build run: go build ./... - name: Install Linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.0.2" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.6.2" - name: Test and Lint run: ./run_tests.sh diff --git a/.golangci.yml b/.golangci.yml index 49a163b..4372fc1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -40,6 +40,10 @@ linters: presets: - comments - std-error-handling + rules: + # Ignore revive linter complaining about the name of the "types" package. + - path: types/* + text: 'var-naming: avoid meaningless package names' formatters: enable: - gofmt diff --git a/README.md b/README.md index c7dbdb1..cdfa1aa 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ VSP will add the ticket to a pool of always-online voting wallets. ## Implementation -vspd is built and tested on go 1.22 and 1.23, making use of the following +vspd is built and tested on go 1.24 and 1.25, making use of the following libraries: - [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.