Skip to content

Commit 77ec828

Browse files
committed
chore: move test to different step
1 parent ec49a69 commit 77ec828

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: main
33
on: ["push", "pull_request"]
44

55
jobs:
6-
76
lint:
87
name: "Lint"
98
strategy:
@@ -17,18 +16,32 @@ jobs:
1716
- uses: actions/checkout@v1
1817
with:
1918
fetch-depth: 1
20-
2119
- uses: WillAbides/setup-go-faster@v1.14.0
2220
with:
2321
go-version: ${{ matrix.go }}
24-
2522
- run: "make vet"
26-
27-
- run: "make test"
28-
2923
- uses: dominikh/staticcheck-action@v1.3.1
3024
with:
3125
version: "latest"
3226
install-go: false
3327
cache-key: ${{ matrix.go }}
3428
working-directory: ${{ matrix.dir }}
29+
30+
test:
31+
name: "Test"
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
36+
go: ["1.22.x"]
37+
dir: ["./"]
38+
runs-on: ${{ matrix.os }}
39+
steps:
40+
- uses: actions/checkout@v1
41+
with:
42+
fetch-depth: 1
43+
- uses: WillAbides/setup-go-faster@v1.14.0
44+
with:
45+
go-version: ${{ matrix.go }}
46+
- run: "make test"
47+

0 commit comments

Comments
 (0)