Merge pull request #1699 from dashpole/update_om_links #456
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: dagger-golangci-lint | |
on: | |
push: | |
paths: | |
- "go.sum" | |
- "go.mod" | |
- "**.go" | |
- "scripts/errcheck_excludes.txt" | |
- ".github/workflows/golangci-lint.yml" | |
- ".golangci.yml" | |
pull_request: | |
permissions: # added using https://github.com/step-security/secure-repo | |
contents: read | |
jobs: | |
golangci: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Lint | |
uses: dagger/dagger-for-github@e5153f5610d82ac9f3f848f3a25ad9d696641068 # v7.0.1 | |
with: | |
version: "latest" | |
verb: call | |
args: -vvv --src . make --args lint |