From 45addd2a1876527dd27ccf5a9bfe76ea6a1174cf Mon Sep 17 00:00:00 2001 From: jholdstock Date: Wed, 9 Aug 2023 09:34:18 +0100 Subject: [PATCH] build: Use go 1.21 & update GitHub actions. --- .github/workflows/go.yml | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dd5ff7e..b5185f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/README.md b/README.md index 6d1331a..594fa87 100644 --- a/README.md +++ b/README.md @@ -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.