File tree 1 file changed +6
-19
lines changed
1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change 13
13
GOLANGCI_LINT_VERSION : v1.61.0
14
14
15
15
jobs :
16
- lint :
17
- name : Lint Go
16
+ lint-build-test :
17
+ name : Lint, Build, and Test
18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : Checkout
@@ -34,33 +34,20 @@ jobs:
34
34
skip-cache : true
35
35
install-mode : binary
36
36
37
- build-test :
38
- name : Build and Test
39
- needs : lint
40
- runs-on : ubuntu-latest
41
- steps :
42
- - name : Checkout
43
- uses : actions/checkout@v4
44
-
45
- - name : Setup go
46
- uses : actions/setup-go@v5
47
- with :
48
- go-version-file : ./go.mod
49
-
50
37
- name : Setup Mage
51
38
uses : magefile/mage-action@v3
52
39
with :
53
40
install-only : true
54
41
42
+ - name : Build
43
+ run : |
44
+ mage -v build
45
+
55
46
- name : Install test dependencies
56
47
run : |
57
48
sudo apt update
58
49
sudo apt install -y gcc
59
50
60
- - name : Build
61
- run : |
62
- mage -v build
63
-
64
51
- name : Test
65
52
run : |
66
53
CGO_ENABLED=1 mage -v testRace
You can’t perform that action at this time.
0 commit comments