File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,22 @@ jobs:
22
22
with :
23
23
go-version-file : go.mod
24
24
25
+ - name : Install Mage
26
+ uses : magefile/mage-action@v3
27
+ with :
28
+ install-only : true
29
+
25
30
build :
26
31
runs-on : ubuntu-latest
27
32
needs : setup
28
33
steps :
29
34
- name : Checkout code
30
35
uses : actions/checkout@v3
31
36
32
- - name : Run Mage
33
- uses : magefile/mage-action@v3
37
+ # - name: Run Mage
38
+ # uses: magefile/mage-action@v3
39
+ # with:
40
+ # install-only: true
34
41
35
42
- name : Build
36
43
run : |
48
55
wget -qO - https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${{ needs.setup.outputs.go-path }} ${{env.GOLANGCI_LINT_VERSION}}
49
56
echo "$HOME/go/bin" >> $GITHUB_PATH # Add golangci-lint to the PATH
50
57
51
- - name : Run Mage
52
- uses : magefile/mage-action@v3
58
+ # - name: Run Mage
59
+ # uses: magefile/mage-action@v3
60
+ # with:
61
+ # install-only: true
53
62
54
63
- name : Lint
55
64
run : |
67
76
sudo apt update
68
77
sudo apt install -y gcc
69
78
70
- - name : Run Mage
71
- uses : magefile/mage-action@v3
72
-
73
79
- name : Test
74
80
run : |
75
81
CGO_ENABLED=1 mage -v testRace
You can’t perform that action at this time.
0 commit comments