...
1name: Manual Linter Run
2
3on:
4 workflow_dispatch:
5
6# When a new revision is pushed to a PR, cancel all in-progress CI runs for that
7# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency
8concurrency:
9 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10 cancel-in-progress: true
11
12jobs:
13 go-lint:
14 name: Go Lint
15 runs-on: ubuntu-latest
16 steps:
17 - name: Check out code
18 uses: actions/checkout@v3
19
20 - name: Golang Style and Lint Check
21 uses: golangci/golangci-lint-action@v3
22 timeout-minutes: 30
23 with:
24 # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
25 version: latest
View as plain text