ci: update all non-major github actions #640
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: reviewdog | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
golangci-lint: | |
permissions: | |
checks: write # for reviewdog/action-golangci-lint to report issues using checks | |
contents: read # for actions/checkout to fetch code | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@dd3fda91790ca90e75049e5c767509dc0ec7d99b # v2.7.0 | |
with: | |
go_version_file: "go.mod" | |
level: warning |