mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-16 05:16:08 +02:00
Tell us what was changed. (#2492)
With the current approach we get a failure when the generated content triggers a change. But we cannot see what was changed. With this commit we can see the diff. In case there is not diff we will not see anything, so there is in that case no real change in the behaviour. But in case there is a change we will see that change. Without that we have to reproduce locally, which means additional efforts.
This commit is contained in:
parent
6d5a30683b
commit
a6b2cb9c83
2
.github/workflows/verify-go.yml
vendored
2
.github/workflows/verify-go.yml
vendored
@ -72,7 +72,7 @@ jobs:
|
|||||||
- name: generate
|
- name: generate
|
||||||
run: go run pkg/generator/step-metadata.go
|
run: go run pkg/generator/step-metadata.go
|
||||||
- name: verify
|
- name: verify
|
||||||
run: git diff --name-only --exit-code
|
run: git diff --exit-code
|
||||||
dependencies:
|
dependencies:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user