Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 check OAF version on PRs #460

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading