cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.49.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/ci.yml

39lines · 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 steps:
15 - name: Check out code
16 uses: actions/checkout@v4
17 with:
18 show-progress: false
19 fetch-depth: 0
20
21 - name: Fetch main branch
22 run: |
23 git fetch origin main
24 git checkout main
25 git fetch origin $GITHUB_HEAD_REF
26 git checkout $GITHUB_HEAD_REF --
27
28 - name: Set up Go
29 uses: actions/setup-go@v4
30 with:
31 go-version-file: go.mod
32
33 - name: Compile pint
34 run: make build
35
36 - name: Run pint ci
37 run: ./pint -c .github/pint/pint.hcl ci
38 env:
39 GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40