Skip to content

Commit 0fd5513

Browse files
authored
Update ci.yml
1 parent 3cefb3b commit 0fd5513

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,22 @@ env:
1313
GOLANGCI_LINT_VERSION: v1.61.0
1414

1515
jobs:
16+
setup:
17+
name: Setup
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Setup go
24+
uses: actions/setup-go@v5
25+
with:
26+
go-version-file: ./go.mod
27+
1628
lint:
1729
name: Lint Go
1830
runs-on: ubuntu-latest
1931
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
22-
23-
- name: Setup go
24-
uses: actions/setup-go@v5
25-
with:
26-
go-version-file: ./go.mod
27-
2832
- name: Run golangci-lint
2933
uses: golangci/golangci-lint-action@v6
3034
with:
@@ -39,13 +43,13 @@ jobs:
3943
needs: lint
4044
runs-on: ubuntu-latest
4145
steps:
42-
- name: Checkout
43-
uses: actions/checkout@v4
46+
# - name: Checkout
47+
# uses: actions/checkout@v4
4448

45-
- name: Setup go
46-
uses: actions/setup-go@v5
47-
with:
48-
go-version-file: ./go.mod
49+
# - name: Setup go
50+
# uses: actions/setup-go@v5
51+
# with:
52+
# go-version-file: ./go.mod
4953

5054
- name: Setup Mage
5155
uses: magefile/mage-action@v3

0 commit comments

Comments
 (0)