diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8568acd..708b7ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '1.18.3' + go-version-file: 'go.mod' - name: Ensure linux agent compiles run: | @@ -56,7 +56,21 @@ jobs: - uses: actions/setup-go@v3 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 run: go test -v ./... \ No newline at end of file