Adds merge_group trigger to workflows. #343
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: | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
checks: write # Optional: allow write access to checks to allow the action to annotate code in the PR. | |
jobs: | |
golangci: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run Golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
args: --timeout 30m --verbose | |
version: v1.60 | |