always update toolchain directive to build plugins with the go version used to build scenarigo #1756
Workflow file for this run
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: | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
check-latest: true | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@v2 | |
with: | |
reviewdog_flags: '-conf=.reviewdog.yml -diff="git diff main"' | |
golangci_lint_version: v1.52.2 | |
- name: looppointer | |
run: make lint/looppointer |