From 179016f774715c56956b5a8f364c8dabc5036fdd Mon Sep 17 00:00:00 2001 From: Conor Holden Date: Fri, 3 Jan 2025 12:46:49 +0100 Subject: [PATCH] :construction_worker: add OAF auto-update action --- .github/workflows/oaf-check.yml | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) 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'