From 00081bdf1ac722bfff954939e30db4f7374ba3df Mon Sep 17 00:00:00 2001 From: Aditya Sirish Date: Fri, 10 Nov 2023 10:02:13 -0600 Subject: [PATCH] actions: Add Go 1.21, remove coveralls reporting Signed-off-by: Aditya Sirish --- .github/workflows/build.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78ad0d8..fdbf51e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] + go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -18,14 +18,7 @@ jobs: if: runner.os == 'Linux' run: test -z $(go fmt ./...) - name: Test - run: go test -covermode atomic -coverprofile='profile.cov' ./... - - name: Send coverage - if: runner.os == 'Linux' - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - GO111MODULE=off go get github.com/mattn/goveralls - $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github + run: go test -v ./... staticcheck: name: "Run staticcheck" runs-on: ubuntu-latest