cloudflare/pint

Public

mirrored from https://github.com/cloudflare/pintAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.55.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

41lines · modecode

1name: pint ci
2
3on:
4 pull_request:
5 branches:
6 - main
7
8permissions:
9 pull-requests: write
10
11jobs:
12 ci:
13 runs-on: ubuntu-latest
14 if: ${{ github.event.pull_request.head.repo.full_name == 'cloudflare/pint' }}
15 steps:
16 - name: Check out code
17 uses: actions/checkout@v4
18 with:
19 show-progress: false
20 fetch-depth: 0
21
22 - name: Fetch main branch
23 run: |
24 git fetch origin main
25 git checkout main
26 git fetch origin $GITHUB_HEAD_REF
27 git checkout $GITHUB_HEAD_REF --
28
29 - name: Set up Go
30 uses: actions/setup-go@v5
31 with:
32 go-version-file: go.mod
33 cache: false
34
35 - name: Compile pint
36 run: make build
37
38 - name: Run pint ci
39 run: ./pint -l debug -c .github/pint/pint.hcl ci
40 env:
41 GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42