Skip to content

Commit ddfc831

Browse files
committed
chore: improve CI
1 parent d077171 commit ddfc831

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
env:
1919
GO_VERSION: stable
20-
GOLANGCI_LINT_VERSION: v2.4.0
2120
CGO_ENABLED: 0
2221

2322
steps:
@@ -32,9 +31,10 @@ jobs:
3231
git diff --exit-code go.mod
3332
git diff --exit-code go.sum
3433
35-
# https://golangci-lint.run/usage/install#other-ci
36-
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
37-
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
34+
- name: lint
35+
uses: golangci/[email protected]
36+
with:
37+
version: latest
3838

3939
- name: Make
40-
run: make
40+
run: make clean test build

0 commit comments

Comments
 (0)