-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update actions workflow and remove coveralls.
- Loading branch information
1 parent
94fa2cc
commit 80f7668
Showing
1 changed file
with
6 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |