fix dead lock #2243
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: | |
push: | |
branches: "*" | |
pull_request: | |
branches: "*" | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
golang: | |
- '1.20' | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go_version }} | |
- uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.54 | |
args: --timeout=10m | |
skip-go-installation: true |