ci: update go versions used in workflows to 1.21 #441
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: golangci-lint | |
on: | |
push: | |
tags: [v*] | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
- "**/*.nix" | |
- "**/*.lock" | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
- "**/*.nix" | |
- "**/*.lock" | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.0 | |
args: --timeout 3m0s |