Skip to content

Commit 09160a1

Browse files
committed
Update golangci-lint's configuration to lint only the files that were
changed
1 parent 23b2866 commit 09160a1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
push:
8+
push:
99
branches:
1010
- main
1111
- dev
@@ -28,6 +28,7 @@ jobs:
2828
uses: golangci/golangci-lint-action@v6
2929
with:
3030
version: v1.61
31+
only-new-issues: true
3132
unit-tests:
3233
name: Unit Tests
3334
runs-on: ubuntu-latest
@@ -41,12 +42,12 @@ jobs:
4142
- name: Unit Tests
4243
run: |
4344
make unit-tests
44-
45+
4546
- name: Codecov
4647
uses: codecov/codecov-action@v4
4748
with:
4849
files: ./coverage.txt
4950
flags: Unit-Tests
5051
verbose: true
5152
env:
52-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
53+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)