mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-24 08:52:21 +02:00
Add CI job to check that the test list is up to date
This commit is contained in:
parent
82c54ed3d2
commit
b1a56249f5
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user