diff --git a/.github/workflows/test-asdf.yml b/.github/workflows/test-asdf.yml new file mode 100644 index 0000000..c61b75e --- /dev/null +++ b/.github/workflows/test-asdf.yml @@ -0,0 +1,20 @@ +name: Go + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test-asdf: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Install asdf & tools + uses: asdf-vm/actions/install@v2 + + - name: Tests + run: go test -v ./... diff --git a/.github/workflows/test.yml b/.github/workflows/test-matrix.yml similarity index 60% rename from .github/workflows/test.yml rename to .github/workflows/test-matrix.yml index 58291d7..22bd89b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test-matrix.yml @@ -16,7 +16,7 @@ jobs: go: ["1.19.x", "1.20.x"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v4 @@ -26,15 +26,3 @@ jobs: - name: Test run: go test -v -race ./... - - test-asdf: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Install asdf & tools - uses: asdf-vm/actions/install@v2 - - - name: Tests - run: go test -v ./...