diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 52d83e7d..8f6add87 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,17 +6,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.24", "1.25"] + go: ["1.25", "1.26"] steps: - name: Set up Go - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c #v6.1.0 + uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0 with: go-version: ${{ matrix.go }} - name: Check out source - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 - 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.6.2" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.9.0" - name: Test and Lint run: ./run_tests.sh diff --git a/.golangci.yml b/.golangci.yml index 4372fc16..3e814c9a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -40,10 +40,16 @@ 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' + settings: + revive: + rules: + - name: var-naming + arguments: + - [""] # AllowList + - [""] # DenyList + # Ignore revive linter complaining about the names of packages. + - - skip-package-name-checks: true + skip-package-name-collision-with-go-std: true formatters: enable: - gofmt diff --git a/README.md b/README.md index cdfa1aaa..adf63e5f 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.24 and 1.25, making use of the following +vspd is built and tested on go 1.25 and 1.26, making use of the following libraries: - [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.