Updated workflow file #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check if OpenAPI is outdated | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
workflow_dispatch: | |
schedule: | |
# “At 4 am on every day.” (https://crontab.guru) | |
- cron: "0 4 * * *" | |
jobs: | |
check-api-outdated: | |
name: Check if OpenAPI generated from JSON is outdated | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: SCM Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python & Poetry Environment | |
uses: exasol/python-toolbox/.github/actions/[email protected] | |
with: | |
python-version: 3.10 | |
- name: Run Nox Task to check if API is outdated | |
run: poetry run nox -s check-api-outdated |