Skip to content

Commit e095aba

Browse files
authored
Update ci.yml
1 parent 8eef214 commit e095aba

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
with:
2323
go-version-file: go.mod
2424

25-
- name: Install Mage
26-
run: |
27-
go install github.com/magefile/mage@latest
28-
echo "$HOME/go/bin" >> $GITHUB_PATH
25+
# - name: Install Mage
26+
# run: |
27+
# go install github.com/magefile/mage@latest
28+
# echo "$HOME/go/bin" >> $GITHUB_PATH
2929

3030
build:
3131
runs-on: ubuntu-latest
@@ -34,10 +34,10 @@ jobs:
3434
- name: Checkout code
3535
uses: actions/checkout@v3
3636

37-
# - name: Run Mage
38-
# uses: magefile/mage-action@v3
39-
# with:
40-
# install-only: true
37+
- name: Run Mage
38+
uses: magefile/mage-action@v3
39+
with:
40+
install-only: true
4141

4242
- name: Build
4343
run: |
@@ -55,10 +55,10 @@ jobs:
5555
wget -qO - https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${{ needs.setup.outputs.go-path }} ${{env.GOLANGCI_LINT_VERSION}}
5656
echo "$HOME/go/bin" >> $GITHUB_PATH # Add golangci-lint to the PATH
5757
58-
# - name: Run Mage
59-
# uses: magefile/mage-action@v3
60-
# with:
61-
# install-only: true
58+
- name: Run Mage
59+
uses: magefile/mage-action@v3
60+
with:
61+
install-only: true
6262

6363
- name: Lint
6464
run: |
@@ -75,6 +75,11 @@ jobs:
7575
run: |
7676
sudo apt update
7777
sudo apt install -y gcc
78+
79+
- name: Run Mage
80+
uses: magefile/mage-action@v3
81+
with:
82+
install-only: true
7883

7984
- name: Test
8085
run: |

0 commit comments

Comments
 (0)