feat(nvidia): move event type to common, define xid/sxid event level in the list #1095
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
# https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#options | |
name: golangci-lint.run | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
paths: | |
- .github/workflows/golangci-lint.yml | |
- "**.go" | |
- go.mod | |
- go.sum | |
branches: ["**"] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci-lint: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version-file: go.mod | |
- name: Install golangci-lint | |
run: go install github.com/golangci/golangci-lint/cmd/[email protected] | |
- name: Build custom golangci-lint | |
run: golangci-lint custom | |
- name: Run golangci-lint | |
run: ./custom-gcl run --verbose --config=.golangci.yml ./... |