Skip to content

Commit

Permalink
Split GitHub jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
BorzdeG committed Jul 19, 2023
1 parent f7e5a41 commit 1cb26c0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test-asdf.yml
Original file line number Diff line number Diff line change
@@ -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 ./...
14 changes: 1 addition & 13 deletions .github/workflows/test.yml → .github/workflows/test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ./...

0 comments on commit 1cb26c0

Please sign in to comment.