Skip to content

Commit eb51f00

Browse files
committed
replace golangci lint by staticcheck
1 parent f82f43c commit eb51f00

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/lint.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
name: lint
2-
on: ["push"]
3-
permissions:
4-
contents: read
1+
name: "CI"
2+
on: ["push", "pull_request"]
3+
54
jobs:
6-
golangci:
7-
name: lint
5+
ci:
6+
name: "Run CI"
87
runs-on: ubuntu-latest
98
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-go@v5
12-
with:
13-
go-version: "1.23"
14-
cache: false
15-
- name: golangci-lint
16-
uses: golangci/golangci-lint-action@v6
17-
with:
18-
args: --timeout=5m
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 1
12+
- uses: dominikh/staticcheck-action@v1
13+
with:
14+
version: "latest"

0 commit comments

Comments
 (0)