Skip to content

Commit e056c7b

Browse files
committed
Back to reparate config
1 parent 9c82e90 commit e056c7b

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

.github/workflows/go.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ jobs:
2525
- name: Download dependencies
2626
run: go mod download
2727

28-
- name: Lint code
29-
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
30-
with:
31-
version: v2.1.6
32-
3328
- name: Run unit tests
3429
run: go test -race ./...
3530

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: golangci-lint
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
golangci:
13+
name: lint
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-go@v5
18+
with:
19+
go-version: stable
20+
- name: golangci-lint
21+
uses: golangci/golangci-lint-action@v8
22+
with:
23+
version: v2.1

0 commit comments

Comments
 (0)