1717 runs-on : ubuntu-latest
1818 services :
1919 postgres :
20- image : postgres:11.17 -bullseye
20+ image : postgres:11.22 -bullseye
2121 env :
2222 POSTGRES_USER : postgres
2323 POSTGRES_PASSWORD : chummy
2626 - 5432:5432
2727 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
2828 redis :
29- image : redis:6.2@sha256:9e75c88539241ad7f61bc9c39ea4913b354064b8a75ca5fc40e1cef41b645bc0
29+ image : redis:6.2@sha256:83a75a9107fae42b4407232299be484b2367c402376511d178672feb9cc8eb24
3030 ports :
3131 - 6379:6379
3232
@@ -35,18 +35,18 @@ jobs:
3535 run : sudo apt-get update && sudo apt-get install libssl-dev libcurl4-openssl-dev
3636
3737 # First checkout the admin repo and install deps
38- - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1 .1
38+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3 .1
3939
40- - uses : actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
40+ - uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
4141 with :
42- python-version : ' 3.12 '
42+ python-version : ' 3.14 '
4343
44- - uses : actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2 .0
44+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
4545 with :
4646 node-version : ' 16.x'
4747 cache : ' npm'
4848
49- - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2 .0
49+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3 .0
5050 with :
5151 path : ~/.cache/pip
5252 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -63,20 +63,20 @@ jobs:
6363
6464 # Now checkout the API repo
6565 - name : Checkout API repository
66- uses : actions/checkout@v3
66+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
6767 with :
6868 repository : cds-snc/notification-api
6969 path : api
7070
7171 - name : Set up Python 3.12
72- uses : actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
72+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
7373 with :
74- python-version : ' 3.12 '
74+ python-version : ' 3.14 '
7575
7676 - name : Upgrade pip
7777 run : python -m pip install --upgrade pip
7878
79- - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2 .0
79+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3 .0
8080 with :
8181 path : ~/.cache/pip
8282 key : ${{ runner.os }}-pip-${{ hashFiles('api/**/requirements.txt') }}
@@ -103,7 +103,7 @@ jobs:
103103 cp version.py "${{ github.workspace }}/api/app/"
104104
105105 - name : Configure credentials to Notify using OIDC
106- uses : aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
106+ uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
107107 with :
108108 role-to-assume : arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-admin-cypress-e2e-tests
109109 role-session-name : NotifyAdminCypressE2ETests
@@ -216,7 +216,7 @@ jobs:
216216 cypress/e2e/admin/ci.cy.js
217217
218218 - name : Upload test artifacts
219- uses : actions/upload-artifact@v4
219+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
220220 if : always()
221221 with :
222222 name : cypress-artifacts
0 commit comments