go.mod: bump github.com/golangci/golangci-lint from 1.60.1 to 1.60.2 #263
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: lint | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
# This step sets up the variable steps.golangci-lint-version.outputs.v | |
# to contain the version of golangci-lint (e.g. v1.54.2). | |
# The version is taken from go.mod. | |
- name: Golangci-lint version | |
id: golangci-lint-version | |
run: | | |
GOLANGCI_LINT_VERSION=$( go list -m -f '{{.Version}}' github.com/golangci/golangci-lint ) | |
echo "v=$GOLANGCI_LINT_VERSION" >> "$GITHUB_OUTPUT" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: ${{ steps.golangci-lint-version.outputs.v }} |