Skip to content

Commit 0dc4342

Browse files
Nikoloclaude
andcommitted
Use make targets in CI instead of golangci-lint-action
Single source of truth: Makefile controls linter version, config, and flags. CI just calls make lint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 79916b5 commit 0dc4342

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/makefile.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,17 @@ jobs:
2020
- name: Run tests
2121
run: make test
2222

23-
golangci:
24-
name: golangci-lint
23+
lint:
2524
runs-on: ubuntu-latest
2625
steps:
2726
- uses: actions/checkout@v4
2827
with:
2928
fetch-depth: 0
3029

31-
- uses: actions/setup-go@v5
30+
- name: Setup Go
31+
uses: actions/setup-go@v5
3232
with:
3333
go-version: '1.24'
3434

35-
- name: golangci-lint
36-
uses: golangci/golangci-lint-action@v6
37-
with:
38-
version: v1.64
39-
args: --build-tags=activerecord
40-
only-new-issues: true
35+
- name: Run lint
36+
run: make lint

0 commit comments

Comments
 (0)