Skip to content

Commit

Permalink
Merge pull request #511 from maykinmedia/feature/oaf-auto-update-action
Browse files Browse the repository at this point in the history
👷 add OAF auto-update action
  • Loading branch information
Coperh authored and SonnyBA committed Jan 8, 2025
2 parents cac2ce2 + 9412723 commit 5aff969
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/oaf-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 5aff969

Please sign in to comment.