diff --git a/.github/workflows/oaf-check.yml b/.github/workflows/oaf-check.yml index e4ad2a4e..386dfcf9 100644 --- a/.github/workflows/oaf-check.yml +++ b/.github/workflows/oaf-check.yml @@ -5,27 +5,15 @@ on: branches: - master tags: - - '**' - pull_request: + - '*' workflow_dispatch: schedule: - - cron: '00 7 * * 1' + - cron: '0 7 * * 1' -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - cache: 'pip' - cache-dependency-path: 'requirements/dev.txt' - - name: Install dependencies - run: pip install uv - - name: Run compile dependencies - run: ./bin/compile_dependencies.sh --upgrade-package open-api-framework +jobs: + open-api-workflow-check-oas: + uses: maykinmedia/open-api-workflows/.github/workflows/oaf-check.yml@v4 - - name: Check git diff - run: git diff --exit-code -- requirements/*.txt + with: + python-version: '3.11'