github.com/google/go-github/v71@v71.0.0/.github/workflows/linter.yml (about) 1 on: [push, pull_request] 2 name: linter 3 4 permissions: 5 contents: read 6 7 jobs: 8 lint: 9 runs-on: ubuntu-latest 10 steps: 11 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 12 - uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0 13 with: 14 go-version: 1.x 15 cache-dependency-path: "**/go.sum" 16 - run: script/lint.sh 17 env: 18 CHECK_GITHUB_OPENAPI: 1 19 GITHUB_TOKEN: ${{ github.token }}