github.com/instill-ai/component@v0.16.0-beta/.github/workflows/golangci-lint.yml (about)

     1  name: golangci-lint
     2  
     3  on:
     4    push:
     5    pull_request:
     6  
     7  permissions:
     8    contents: read
     9  
    10  jobs:
    11    golangci:
    12      name: lint
    13      runs-on: ubuntu-latest
    14      steps:
    15        - uses: actions/checkout@v3
    16        - uses: actions/setup-go@v4
    17          with:
    18            go-version: '1.21'
    19            cache: false
    20        - name: golangci-lint
    21          uses: golangci/golangci-lint-action@v3
    22          with:
    23            version: v1.54