Skip to content
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: 6 additions & 6 deletions .github/workflows/check-common-cdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
LintPython:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dev dependencies
run: "pip install -r backend/common-cdk/requirements-dev.in"
Expand All @@ -38,12 +38,12 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checks-out the repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

- name: Install dev dependencies
run: "pip install -r backend/common-cdk/requirements-dev.in"
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/check-compact-connect-ui-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
LintPython:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dev dependencies
run: "pip install -r backend/compact-connect-ui-app/requirements-dev.txt"
Expand All @@ -39,16 +39,16 @@ jobs:

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

# Setup Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: '22.1.0'
node-version: '24.11.1'

# Use any cached yarn dependencies (saves build time)
- uses: actions/cache@v4
Expand All @@ -75,18 +75,18 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checks-out the repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

# Setup Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: '22.1.0'
node-version: '24.11.1'

# Use any cached yarn dependencies (saves build time)
- uses: actions/cache@v4
Expand Down
50 changes: 39 additions & 11 deletions .github/workflows/check-compact-connect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
LintPython:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Install dev dependencies
run: "pip install -r backend/compact-connect/requirements-dev.txt"
Expand All @@ -39,16 +39,16 @@ jobs:

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

# Setup Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: '22.1.0'
node-version: '24.11.1'

# Use any cached yarn dependencies (saves build time)
- uses: actions/cache@v4
Expand All @@ -75,18 +75,18 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checks-out the repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'
python-version: '3.14'

# Setup Node
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: '22.1.0'
node-version: '24.11.1'

# Use any cached yarn dependencies (saves build time)
- uses: actions/cache@v4
Expand All @@ -109,3 +109,31 @@ jobs:

- name: Test backend
run: "cd backend/compact-connect; bin/run_tests.sh -l all -no"

# The purchases lambda Python version has to be held back because of its Authorize.net dependency
# so we will check it separately
TestAndLintPurchases:
runs-on: ubuntu-latest
steps:
# Checks-out the repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v5

- uses: actions/setup-python@v6
with:
python-version: '3.12'

- name: Install dependencies
run: "cd backend/compact-connect/lambdas/python/purchases; pip install -r requirements.txt"

- name: Install dev dependencies
run: "cd backend/compact-connect/lambdas/python/purchases; pip install -r requirements-dev.txt"

- name: Lint Code
run: "cd backend/compact-connect/lambdas/python/purchases; ruff check $(git ls-files '*.py')"

- name: Check Dependencies
# Ignore pip vulnerability that does not affect Python 3.12+
run: "pip-audit --ignore-vuln GHSA-4xh5-x5gv-qwph"

- name: Test backend
run: "cd backend/compact-connect/lambdas/python/purchases; PYTHONPATH=../common pytest tests --cov --cov-fail-under=90"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-for-internal-api-spec-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-multi-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
LintPython:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'

Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.12'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zap-scan-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- run: echo "🖥️ The workflow is now ready to test your code on the runner."

- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: '22.1.0'

Expand Down
2 changes: 1 addition & 1 deletion backend/compact-connect-ui-app/lambdas/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This folder contains all lambda runtimes that are written with NodeJS/JavaScript


## Prerequisites
* **[Node](https://github.com/creationix/nvm#installation) `22.X`**
* **[Node](https://github.com/creationix/nvm#installation) `24.X`**
* **[Yarn](https://yarnpkg.com/en/) `1.22.22`**
* `npm install --global yarn@1.22.22`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---
## Prerequisites
* **[Node](https://github.com/creationix/nvm#installation) `22.X`**
* **[Node](https://github.com/creationix/nvm#installation) `24.X`**
* **[Yarn](https://yarnpkg.com/en/) `1.22.22`**
* `npm install --global yarn@1.22.22`
* **[Mocha](https://mochajs.org/) `10.x.x`+**
Expand Down
1 change: 0 additions & 1 deletion backend/compact-connect-ui-app/lambdas/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@aws-sdk/client-dynamodb": "^3.682.0",
"@aws-sdk/client-s3": "^3.682.0",
"@aws-sdk/util-dynamodb": "^3.682.0",
"aws-lambda": "1.0.7",
"zod": "^3.23.8"
}
}
Loading
Loading