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 Jan 6, 2025
2 parents 65bc61f + 179016f commit 8c53bc4
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 8c53bc4

Please sign in to comment.