dubbo.apache.org/dubbo-go/v3@v3.1.1/.github/workflows/golangci-lint.yml (about) 1 name: golangci-lint 2 on: 3 push: 4 branches: "*" 5 pull_request: 6 branches: "*" 7 8 permissions: 9 contents: read 10 11 jobs: 12 golangci: 13 permissions: 14 contents: read # for actions/checkout to fetch code 15 pull-requests: read # for golangci/golangci-lint-action to fetch pull requests 16 name: lint 17 runs-on: ubuntu-latest 18 strategy: 19 matrix: 20 golang: 21 - 1.17 22 steps: 23 - uses: actions/setup-go@v3 24 with: 25 go-version: 1.17 26 - uses: actions/checkout@v3 27 - name: golangci-lint 28 uses: golangci/golangci-lint-action@v3.4.0 29 with: 30 version: v1.44.2 31 args: --timeout=10m 32 skip-go-installation: true