cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.74.3

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/test.yml

42lines · modecode

1name: Test Go code
2
3on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11permissions: read-all
12
13jobs:
14 test-go:
15 runs-on: ubuntu-latest
16 steps:
17 - name: Check out code
18 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19 with:
20 show-progress: false
21
22 - name: Set up Go
23 uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
24 with:
25 go-version-file: go.ver
26 cache: false
27
28 - name: Test
29 run: make test
30
31 - name: Check for local changes
32 run: git diff --exit-code
33
34 - name: Report code coverage
35 uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
36 with:
37 token: ${{ secrets.CODECOV_TOKEN }}
38 files: ./.cover/coverage.out
39 fail_ci_if_error: true
40 handle_no_reports_found: true
41 continue-on-error: true
42
43