cloudflare/pint

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
main

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/go-mod-tidy.yml

32lines · modecode

1name: Check go.mod
2
3on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11permissions: read-all
12
13jobs:
14 go-mod-tidy:
15 runs-on: ubuntu-latest
16 steps:
17 - name: Check out code
18 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
19 with:
20 show-progress: false
21
22 - name: Set up Go
23 uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
24 with:
25 go-version-file: go.ver
26 cache: false
27
28 - name: Run go mod tidy
29 run: go mod tidy
30
31 - name: Check for local changes
32 run: git diff --exit-code