-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dennis Jekubczyk
committed
Feb 27, 2022
1 parent
d2039c9
commit 86641c9
Showing
3 changed files
with
37 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: run matrix test with different go versions | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go: [1.16, 1.17] | ||
steps: | ||
- run: | | ||
echo "$HOME/bin" >> "$GITHUB_PATH" | ||
echo "$HOME/gopath/bin" >> "$GITHUB_PATH" | ||
- name: Install Task | ||
uses: arduino/setup-task@v1 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
check-latest: true | ||
- uses: actions/checkout@v2 | ||
- name: install | ||
run: | | ||
task install-tools && \ | ||
task install | ||
- name: verify preconditions | ||
run: task verify | ||
- run: task test integration-test |
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