Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

permissions:
contents: read
pull-requests: read

jobs:
golangci:
runs-on: ubuntu-latest
Expand All @@ -15,12 +19,13 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
# See https://github.com/golangci/golangci-lint-action#how-to-use
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
args: --timeout=5m
version: v1.52.2
args: --config=".golangci-prod.toml" --new-from-rev=HEAD~1 --max-same-issues=0 --max-issues-per-linter=0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ meteor-plugin-*
/dist

.playground
.tools
Loading