Bump the x group across 1 directory with 2 updates #145
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/go | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.go" | |
- "go.sum" | |
- ".github/workflows/lint.yaml" | |
pull_request: | |
paths: | |
- "**.go" | |
- "go.sum" | |
- ".github/workflows/lint.yaml" | |
workflow_dispatch: | |
# Cancel in-progress runs for pull requests when developers push | |
# additional changes | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
lint: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "~1.19" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6.0.1 | |
with: | |
version: v1.48.0 |