mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: make sure golden files are actually up to date (#15989)
This commit is contained in:
@@ -271,6 +271,15 @@ jobs:
|
||||
# coderd/rbac/object_gen.go:1:1: syntax error: package statement must be first
|
||||
run: "make --output-sync -B gen"
|
||||
|
||||
- name: make update-golden-files
|
||||
run: |
|
||||
make clean/golden-files
|
||||
# Notifications require DB, we could start a DB instance here but
|
||||
# let's just restore for now.
|
||||
git checkout -- coderd/notifications/testdata/rendered-templates
|
||||
# As above, skip `-j` flag.
|
||||
make --output-sync -B update-golden-files
|
||||
|
||||
- name: Check for unstaged files
|
||||
run: ./scripts/check_unstaged.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user