Skip to content

Commit 6a2c9c9

Browse files
Ensure the workspace is clean (#75)
* Ensure the workspace is clean * Regen * Setup go
1 parent 69994dc commit 6a2c9c9

2 files changed

Lines changed: 19 additions & 930 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
- run: nix build
4646

4747
gomod2nix:
48+
if: github.event_name == 'pull_request'
4849
runs-on: ubuntu-latest
4950
steps:
5051
- uses: actions/checkout@v6
@@ -56,3 +57,17 @@ jobs:
5657

5758
- run: go tool gomod2nix
5859
- run: git diff --exit-code gomod2nix.toml
60+
61+
clean:
62+
if: github.event_name == 'pull_request'
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@v6
66+
67+
- uses: actions/setup-go@v6
68+
with:
69+
go-version-file: go.mod
70+
cache-dependency-path: go.sum
71+
72+
- run: make pkg/renovate/zz_generated.schema.go
73+
- run: git diff --exit-code

0 commit comments

Comments
 (0)