...

Text file src/github.com/transparency-dev/merkle/.github/workflows/golangci-lint.yml

Documentation: github.com/transparency-dev/merkle/.github/workflows

     1name: golangci-lint
     2on:
     3  push:
     4  pull_request:
     5permissions:
     6  contents: read
     7  # Optional: allow read access to pull request. Use with `only-new-issues` option.
     8  # pull-requests: read
     9jobs:
    10  golangci:
    11    name: lint
    12    runs-on: ubuntu-latest
    13    steps:
    14      - uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
    15        with:
    16          go-version: 1.17
    17      - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.1.0
    18      - name: golangci-lint
    19        uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
    20        with:
    21          # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
    22          version: v1.50.1

View as plain text