ci: publish Go controller source changes
This commit is contained in:
@@ -8,8 +8,12 @@ on:
|
|||||||
- '.gitea/workflows/publish-images.yml'
|
- '.gitea/workflows/publish-images.yml'
|
||||||
- 'config/**'
|
- 'config/**'
|
||||||
- 'container/**'
|
- 'container/**'
|
||||||
|
- 'cmd/**'
|
||||||
|
- 'internal/**'
|
||||||
- 'scripts/**'
|
- 'scripts/**'
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
|
- 'go.mod'
|
||||||
|
- 'go.sum'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -34,6 +38,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
go test ./...
|
||||||
|
go vet ./...
|
||||||
python3 -m pip install --break-system-packages -e '.[test]'
|
python3 -m pip install --break-system-packages -e '.[test]'
|
||||||
pytest -q
|
pytest -q
|
||||||
python3 -m compileall -q src tests
|
python3 -m compileall -q src tests
|
||||||
|
|||||||
Reference in New Issue
Block a user