Skip to content

Commit

Permalink
Merge pull request #62 from adityasaky/fix-actions
Browse files Browse the repository at this point in the history
actions: Add Go 1.21, remove coveralls reporting
  • Loading branch information
mnm678 authored Nov 10, 2023
2 parents 8c0fa8d + 00081bd commit 5b9c211
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 5b9c211

Please sign in to comment.