Skip to content

Commit

Permalink
build: Use go 1.21 & update GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Aug 9, 2023
1 parent de79ce7 commit 5c54aa9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.19", "1.20"]
go: ["1.20", "1.21"]
steps:
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
- 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.53.2"
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3"
- name: Test and Lint
run: ./run_tests.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ VSP will add the ticket to a pool of always-online voting wallets.

## Implementation

vspd is built and tested on go 1.19 and 1.20, making use of the following
vspd is built and tested on go 1.20 and 1.21, making use of the following
libraries:

- [gin-gonic/gin](https://github.com/gin-gonic/gin) webserver.
Expand Down

0 comments on commit 5c54aa9

Please sign in to comment.