Skip to content

Commit adb316e

Browse files
sharnoffbayandin
andauthored
lint: Always run golangci-lint (#202)
There are sometimes non-Go files that affect linting (e.g., changes to the linting workflow itself, as in #201) and realistically the longest CI job is the e2e tests, so being efficient about linting isn't as significant. Co-authored-by: Alexander Bayandin <[email protected]>
1 parent e2c7efb commit adb316e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,13 @@ jobs:
1717
- uses: actions/setup-go@v4
1818
with:
1919
go-version-file: 'go.mod'
20-
- uses: technote-space/get-diff-action@v6
21-
with:
22-
PATTERNS: |
23-
**/**.go
24-
go.mod
25-
go.sum
2620
- uses: golangci/golangci-lint-action@v3
2721
with:
2822
# Required: the version of golangci-lint is required and
2923
# should be specified with patch version.
3024
version: v1.52.2
3125
args: --timeout 5m --fix
3226
github-token: ${{ secrets.github_token }}
33-
if: env.GIT_DIFF
3427

3528
- name: go mod tidy
3629
run: |

0 commit comments

Comments
 (0)