Skip to content

Commit

Permalink
Merge pull request #460 from maykinmedia/feature/check-oaf-on-pr
Browse files Browse the repository at this point in the history
👷 check OAF version on PRs
  • Loading branch information
Coperh authored Oct 8, 2024
2 parents 541682b + 8b764d2 commit fb2ba7d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/oaf-check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Check Open API Framework Version

on:
push:
branches:
- master
tags:
- '**'
pull_request:
workflow_dispatch:
schedule:
- cron: '36 0 * * 0'
- cron: '00 7 * * 1'

jobs:
run:
Expand All @@ -14,8 +20,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'requirements/dev.txt'
- name: Install dependencies
run: pip install -U pip-tools
run: pip install $(grep "pip-tools==" requirements/dev.txt)
- name: Run compile dependencies
run: ./bin/compile_dependencies.sh --upgrade-package open-api-framework

Expand Down
4 changes: 1 addition & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ djangorestframework-inclusions==1.2.0
drf-nested-routers==0.93.3
# via commonground-api-common
drf-spectacular[sidecar]==0.27.2
# via
# drf-spectacular
# open-api-framework
# via open-api-framework
drf-spectacular-sidecar==2024.7.1
# via drf-spectacular
drf-yasg==1.21.7
Expand Down
2 changes: 0 additions & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ django-solo==2.2.0
django-two-factor-auth[phonenumberslite,webauthn]==1.17.0
# via
# -r requirements/base.txt
# django-two-factor-auth
# maykin-2fa
django-webtest==1.9.7
# via -r requirements/test-tools.in
Expand Down Expand Up @@ -275,7 +274,6 @@ drf-nested-routers==0.93.3
drf-spectacular[sidecar]==0.27.2
# via
# -r requirements/base.txt
# drf-spectacular
# open-api-framework
drf-spectacular-sidecar==2024.7.1
# via
Expand Down
8 changes: 4 additions & 4 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ django-solo==2.2.0
django-two-factor-auth[phonenumberslite,webauthn]==1.17.0
# via
# -r requirements/ci.txt
# django-two-factor-auth
# maykin-2fa
django-webtest==1.9.7
# via -r requirements/ci.txt
Expand Down Expand Up @@ -307,7 +306,6 @@ drf-nested-routers==0.93.3
drf-spectacular[sidecar]==0.27.2
# via
# -r requirements/ci.txt
# drf-spectacular
# open-api-framework
drf-spectacular-sidecar==2024.7.1
# via
Expand Down Expand Up @@ -459,7 +457,7 @@ phonenumberslite==8.13.30
# via
# -r requirements/ci.txt
# django-two-factor-auth
pip-tools==7.3.0
pip-tools==7.4.1
# via -r requirements/dev.in
platformdirs==4.0.0
# via black
Expand Down Expand Up @@ -500,7 +498,9 @@ pyopenssl==24.0.0
# webauthn
# zgw-consumers
pyproject-hooks==1.0.0
# via build
# via
# build
# pip-tools
pyquery==1.4.3
# via -r requirements/ci.txt
pyrsistent==0.17.3
Expand Down

0 comments on commit fb2ba7d

Please sign in to comment.