go.mway.dev/math@v0.3.4-0.20220903004814-3c8fcf9df0ca/.github/workflows/golangci-lint.yml (about)

     1  name: golangci-lint
     2  on:
     3    push:
     4      tags:
     5        - v*
     6      branches:
     7        - master
     8        - main
     9    pull_request:
    10  permissions:
    11    contents: read
    12    pull-requests: read
    13  jobs:
    14    golangci:
    15      name: lint
    16      runs-on: ubuntu-latest
    17      steps:
    18        - uses: actions/setup-go@v3
    19          with:
    20            go-version: 1.18
    21        - uses: actions/checkout@v3
    22        - name: golangci-lint
    23          uses: golangci/golangci-lint-action@v3
    24          with:
    25            version: v1.45