Skip to content

Commit

Permalink
fix: update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mfarhan943 committed Oct 9, 2024
1 parent 6974e9e commit 52e4f02
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-consistent-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-python@v5
if: ${{ env.RELEVANT == 'true' }}
with:
python-version: '3.11'
python-version: '3.12'

- name: "Recompile requirements"
if: ${{ env.RELEVANT == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version:
- "3.11"
python-version: ["3.11", "3.12"]

os: ["ubuntu-latest"]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Run make compile-requirements
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
matrix:
os: [ubuntu-latest]
node-version: [18, 20]
python-version:
- "3.11"
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install system requirements
run: sudo apt update && sudo apt install -y libxmlsec1-dev
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/migrations-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- "3.11"
python-version: ["3.11", "3.12"]
# 'pinned' is used to install the latest patch version of Django
# within the global constraint i.e. Django==4.2.8 in current case
# because we have global constraint of Django<4.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Get pip cache dir
id: pip-cache-dir
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- "3.11"
python-version: ["3.11", "3.12"]
node-version: [20]

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version:
- "3.11"
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/static-assets-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version:
- "3.11"
python-version: ["3.11", "3.12"]
node-version: [18, 20]
npm-version: [10.5.x]
mongo-version:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
python-version: ["3.11", "3.12"]
django-version:
- "pinned"
# When updating the shards, remember to make the same changes in
Expand Down Expand Up @@ -170,7 +169,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: install system requirements
run: |
Expand Down Expand Up @@ -292,8 +291,7 @@ jobs:
needs: [run-tests]
strategy:
matrix:
python-version:
- 3.11
python-version: ["3.11", "3.12"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Update any pinned dependencies
env:
Expand Down

0 comments on commit 52e4f02

Please sign in to comment.