Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 #79
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: main | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
verify-root: | |
name: Verify root module | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install dependencies | |
run: | | |
go mod download | |
go mod vendor | |
- name: Run linters | |
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 | |
with: | |
version: v1.31 | |
args: --verbose | |
- name: Run tests | |
run: | | |
go test -v ./... | |
verify-gopgv9: | |
name: Verify gopgv9 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: gopgv9 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install dependencies | |
run: | | |
go mod download | |
go mod vendor | |
- name: Run linters | |
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 | |
with: | |
version: v1.31 | |
working-directory: gopgv9 | |
args: --verbose | |
- name: Run tests | |
run: | | |
go test -v ./... | |
verify-gopgv10: | |
name: Verify gopgv10 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: gopgv10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install dependencies | |
run: | | |
go mod download | |
go mod vendor | |
- name: Run linters | |
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0 | |
with: | |
version: v1.31 | |
working-directory: gopgv10 | |
args: --verbose | |
- name: Run tests | |
run: | | |
go test -v ./... |