From 11504a3d319c80da9d3dacb0e16e64469d50c008 Mon Sep 17 00:00:00 2001 From: Christian Rebischke Date: Sun, 3 Mar 2024 18:59:53 +0100 Subject: [PATCH] Fix Github Actions This commit fixes our Github actions pipeline via using `go install` instead of `go get`. Moreover, we only support the last two Go releases from now on. This is compliant to: https://go.dev/doc/devel/release --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0cb0732..97c2b9e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] + go-version: [1.21.x, 1.22.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: @@ -29,7 +29,7 @@ jobs: env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - GO111MODULE=off go get github.com/mattn/goveralls + go install github.com/mattn/goveralls@latest $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github - name: Fuzz tests