just require reponame and pr number for adhoc mode instead of reponam… #1539
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linter | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: runner / golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- uses: actions/checkout@v3 | |
- name: Run golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: --timeout 3m --verbose --disable revive | |
version: v1.56.2 |