github.com/webdestroya/awsmocker@v0.2.6/.github/workflows/lint.yml (about)

     1  name: golangci-lint
     2  on:
     3    push:
     4      branches: [ main, master ]
     5    pull_request:
     6      branches: [ main, master ]
     7  
     8  permissions:
     9    contents: read
    10  
    11  jobs:
    12    golangci:
    13      name: lint
    14      runs-on: ubuntu-latest
    15      steps:
    16        - uses: actions/checkout@v3
    17  
    18        - uses: actions/setup-go@v3
    19          with:
    20            go-version-file: .go-version
    21  
    22        - name: golangci-lint
    23          uses: golangci/golangci-lint-action@v3
    24          with:
    25            version: latest
    26            args: --config .golangci.yml --timeout 5m --verbose