Skip to content

Commit

Permalink
ci: Update actions workflow and remove coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Aug 17, 2024
1 parent 94fa2cc commit 80f7668
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
---

name: build-check
on: [push, pull_request]
jobs:
build-check:
name: Run build-check on Go ${{ matrix.go }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.15'
- '1.14'
- '1.13'
- '1.12'
- '1.11'
- '1.22'
- '1.21'
- '1.20'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: make build_check
save-test-coverage:
name: Save test coverage
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: 1.15
- name: Get test coverage
run: make tests
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out

0 comments on commit 80f7668

Please sign in to comment.