github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/.github/workflows/lint.yaml (about)

     1  name: golangci-lint
     2  on:
     3    pull_request:
     4  permissions:
     5    contents: read
     6  jobs:
     7    golangci:
     8      name: lint
     9      runs-on: ubuntu-latest
    10      steps:
    11        - uses: actions/checkout@v3
    12  
    13        - uses: actions/setup-go@v3
    14          with:
    15            go-version: "1.19.13"
    16  
    17        - name: golangci-lint
    18          uses: golangci/golangci-lint-action@v3
    19          with:
    20            version: v1.53.3
    21            only-new-issues: true
    22  
    23        - name: Check go.mod
    24          run: |
    25            go mod tidy && git diff --exit-code