From 32c2c54fed3f5531272cd04ffdec4dd87b1d1878 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 26 Aug 2023 03:10:27 -0500 Subject: [PATCH 1/4] build: Update to latest action versions. This updates to the following Github Actions: - actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #4.1.0 - actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0 --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4713313..f298690 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,11 +12,11 @@ jobs: go: ["1.19", "1.20"] steps: - name: Set up Go - uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #4.1.0 with: go-version: ${{ matrix.go }} - name: Check out source - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0 - name: Install linters run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1" - name: Build From 4bafca631b6c4a31a138e02ec1d13cf808878959 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 26 Aug 2023 03:11:36 -0500 Subject: [PATCH 2/4] build: Update golangci-lint to v1.54.2. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f298690..3874d69 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: - name: Check out source uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0 - name: Install linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.1" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2" - name: Build run: go build ./... - name: Lint From 69de59b63bc6bcaa7c48574ed79ab5f0d5f32ab4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 26 Aug 2023 03:12:17 -0500 Subject: [PATCH 3/4] build: Test against Go 1.21. This updates CI to test against Go 1.21 and removes the tests for Go 1.19 accordingly. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3874d69..c876aad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,7 +9,7 @@ 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@93397bea11091df50f3d7e59dc26a7711a8bcfbe #4.1.0 From d0d3fb4dd883ad32e50c2513137a2a9a58ba119c Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 26 Aug 2023 03:15:47 -0500 Subject: [PATCH 4/4] docs: Update README.md to require Go 1.20+. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c18908..89a6a75 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ changes may be written to a config file in a platform-specific location: ## Build and installation -- **Install Go 1.19 or higher version** +- **Install Go 1.20 or higher version** Installation instructions can be found here: https://golang.org/doc/install. Ensure Go was installed properly and is a supported version: