Skip to content

Commit fbd5f4b

Browse files
committed
Fix linting workflow
1 parent 0e30b8c commit fbd5f4b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/golangci-lint.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ jobs:
1919
name: lint
2020
runs-on: ubuntu-latest
2121
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
fetch-depth: 0
26+
2227
- uses: actions/setup-go@v5
2328
with:
24-
go-version-file: 'go.mod'
29+
go-version-file: "go.mod"
2530
cache: false
2631

2732
- name: generate version file

.github/workflows/goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version-file: 'go.mod'
20+
go-version-file: "go.mod"
2121

2222
- name: generate version file
2323
run: go generate ./...

0 commit comments

Comments
 (0)