build: Update GitHub actions and use go 1.25.
This commit is contained in:
parent
5263bfc2e1
commit
143302cfcd
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@ -6,17 +6,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go: ["1.23", "1.24"]
|
go: ["1.24", "1.25"]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 #v5.3.0
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c #v6.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build ./...
|
run: go build ./...
|
||||||
- name: Install Linters
|
- 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
|
- name: Test and Lint
|
||||||
run: ./run_tests.sh
|
run: ./run_tests.sh
|
||||||
|
|||||||
@ -40,6 +40,10 @@ linters:
|
|||||||
presets:
|
presets:
|
||||||
- comments
|
- comments
|
||||||
- std-error-handling
|
- 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:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- gofmt
|
- gofmt
|
||||||
|
|||||||
@ -42,7 +42,7 @@ VSP will add the ticket to a pool of always-online voting wallets.
|
|||||||
|
|
||||||
## Implementation
|
## 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:
|
libraries:
|
||||||
|
|
||||||
- [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.
|
- [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user