mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
ci: add test for uncommitted changes in deploy directory
added test for uncommitted changes in deploy directory under go-test GH action. Also, created a new make target named `make check-deploy-committed` that can be used to verify the uncommitted changes. Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
e150fd986b
commit
71cbf3d7eb
16
.github/workflows/go-test.yaml
vendored
16
.github/workflows/go-test.yaml
vendored
@ -9,6 +9,22 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
uncommitted-code-check:
|
||||
name: uncommitted-code-check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check generated deploy code
|
||||
run: make generate-deploy
|
||||
|
||||
- name: Check for uncommitted changes
|
||||
run: make check-all-committed
|
||||
|
||||
- name: Show the uncommitted "git diff"
|
||||
if: ${{ failure() }}
|
||||
run: git diff ; false
|
||||
e2e-build-test:
|
||||
name: e2e-build-test
|
||||
runs-on: ubuntu-latest
|
||||
|
Reference in New Issue
Block a user