Skip to content

Refactor github reporer to use common comments code #758

Refactor github reporer to use common comments code

Refactor github reporer to use common comments code #758

Workflow file for this run

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 }}