build: Update to go 1.20.
This commit is contained in:
parent
7718476caf
commit
67910d0fb3
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@ -6,17 +6,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.18, 1.19]
|
||||
go: ["1.19", "1.20"]
|
||||
steps:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f #v3.3.1
|
||||
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
- name: Check out source
|
||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0
|
||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.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 v1.50.1"
|
||||
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1"
|
||||
- name: Test and Lint
|
||||
run: ./run_tests.sh
|
||||
|
||||
@ -43,7 +43,7 @@ VSP will add the ticket to a pool of always-online voting wallets.
|
||||
|
||||
## Implementation
|
||||
|
||||
vspd is built and tested on go 1.18 and 1.19, making use of the following
|
||||
vspd is built and tested on go 1.19 and 1.20, making use of the following
|
||||
libraries:
|
||||
|
||||
- [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user