mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-11 01:20:48 +02:00
Add CI job to check that the test list is up to date
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -135,6 +135,11 @@ jobs:
|
|||||||
# ensure our vendor directory matches up with our go modules
|
# ensure our vendor directory matches up with our go modules
|
||||||
run: |
|
run: |
|
||||||
go mod vendor && git diff --exit-code || (echo "Unexpected change to vendor directory. Run 'go mod vendor' locally and commit the changes" && exit 1)
|
go mod vendor && git diff --exit-code || (echo "Unexpected change to vendor directory. Run 'go mod vendor' locally and commit the changes" && exit 1)
|
||||||
|
- name: Check Integration Test List
|
||||||
|
# ensure our integration test list is up to date
|
||||||
|
run: |
|
||||||
|
go generate pkg/integration/tests/tests.go && git diff --exit-code || (echo "Integration test list not up to date. Run 'go generate pkg/integration/tests/tests.go' locally and commit the changes" && exit 1)
|
||||||
|
shell: bash # needed so that we get "-o pipefail"
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user