chore(deps): bump google-github-actions/release-please-action from 3.… #1717
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 | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 #v2.2.1 | |
id: filter | |
with: | |
filters: | | |
go: | |
- '**/*.go' | |
- 'tools/go.mod' | |
- uses: actions/setup-go@v4 | |
if: steps.filter.outputs.go == 'true' | |
with: | |
go-version-file: 'go.mod' | |
- name: golangci-lint | |
if: steps.filter.outputs.go == 'true' | |
run: | | |
go run -modfile=tools/go.mod github.com/golangci/golangci-lint/cmd/golangci-lint run -v --timeout 5m |