added ubuntu test
This commit is contained in:
parent
0134daa2e2
commit
df77c2a2b9
1 changed files with 16 additions and 2 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.3'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Ensure linux agent compiles
|
- name: Ensure linux agent compiles
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -56,7 +56,21 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.3'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test -v ./...
|
||||||
|
|
||||||
|
test-ubuntu:
|
||||||
|
runs-on: [ self-hosted, Linux]
|
||||||
|
name: Test on Ubuntu
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
Loading…
Add table
Add a link
Reference in a new issue