build(deps): bump github.com/golangci/golangci-lint from 1.60.1 to 1.60.2 in /tools/golangci-lint #821
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pint ci | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
pull-requests: write | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.head.repo.full_name == 'cloudflare/pint' }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
fetch-depth: 0 | |
- name: Fetch main branch | |
run: | | |
git fetch origin main | |
git checkout main | |
git fetch origin $GITHUB_HEAD_REF | |
git checkout $GITHUB_HEAD_REF -- | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.ver | |
cache: false | |
- name: Compile pint | |
run: make build | |
- name: Run pint ci | |
run: ./pint -l debug -c .github/pint/pint.hcl ci | |
env: | |
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |