diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 31ec7a3..7f99057 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -61,6 +61,9 @@ jobs: - name: Check Zserio Python tutorial (sources regeneration) run: | zserio tutorial.zs -python build/gen + zserio tutorial.zs -python src -ignoreTimestamps + git add --intent-to-add --all -- src + git diff --exit-code -- src mypy build/gen src/main.py --no-strict-optional PYTHONPATH=. pylint build/gen src/main.py \ --disable=line-too-long,missing-function-docstring,missing-module-docstring \ @@ -74,3 +77,11 @@ jobs: PYTHONPATH=build/gen python src/main.py read PYTHONPATH=build/gen python src/main.py write_boss PYTHONPATH=build/gen python src/main.py read + + keepalive: + if: github.event_name == 'schedule' + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: liskin/gh-workflow-keepalive@v1 diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 7fd3830..73b0815 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -64,6 +64,9 @@ jobs: - name: Check Zserio Python tutorial (sources regeneration) run: | zserio tutorial.zs -python build/gen + zserio tutorial.zs -python src -ignoreTimestamps + git add --intent-to-add --all -- src + git diff --exit-code -- src mypy build/gen src/main.py --no-strict-optional PYTHONPATH=. pylint build/gen src/main.py \ --disable=line-too-long,missing-function-docstring,missing-module-docstring \ @@ -79,3 +82,11 @@ jobs: PYTHONPATH=build/gen python src/main.py write_boss PYTHONPATH=build/gen python src/main.py read shell: bash + + keepalive: + if: github.event_name == 'schedule' + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - uses: liskin/gh-workflow-keepalive@v1