chore(ci): update actions/create-github-app-token action (v1.11.0 → v1.11.1) #4511
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: Linter | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Filter paths | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: filter | |
with: | |
filters: | | |
go: | |
- '**/*.go' | |
- 'tools/go.mod' | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
if: steps.filter.outputs.go == 'true' | |
with: | |
go-version-file: "go.mod" | |
cache-dependency-path: | | |
go.sum | |
tools/go.sum | |
- name: Lint code | |
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 |