github.com/igoogolx/clash@v1.19.8/.github/workflows/linter.yml (about)

     1  name: Linter
     2  on: [push, pull_request]
     3  jobs:
     4    lint:
     5      runs-on: ubuntu-latest
     6      steps:
     7        - uses: actions/checkout@v3
     8  
     9        - name: Setup Go
    10          uses: actions/setup-go@v4
    11          with:
    12            check-latest: true
    13            go-version: '1.21'
    14  
    15        - name: golangci-lint
    16          uses: golangci/golangci-lint-action@v3
    17          with:
    18            version: latest