Skip to content

Commit 77d2bac

Browse files
authored
Merge pull request #1113 from finos/dev
Dev to main
2 parents ad09397 + 97c5c54 commit 77d2bac

File tree

11 files changed

+10777
-1598
lines changed

11 files changed

+10777
-1598
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-python@v4
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
1515
with:
1616
python-version: 3.x
17-
- uses: actions/cache@v2
17+
- uses: actions/cache@v4
1818
with:
1919
key: ${{ github.ref }}
2020
path: .cache

.github/workflows/license-scanning-node.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [22.x]
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- run: npm install --omit=dev
@@ -33,11 +33,11 @@ jobs:
3333
runs-on: ubuntu-latest
3434
strategy:
3535
matrix:
36-
node-version: [16.x]
36+
node-version: [22.x]
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
3939
- name: Use Node.js ${{ matrix.node-version }}
40-
uses: actions/setup-node@v2
40+
uses: actions/setup-node@v4
4141
with:
4242
node-version: ${{ matrix.node-version }}
4343
- run: npm install --omit=dev

.github/workflows/publish-docker.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ jobs:
1717
name: ${{ github.event.repository.name }}-docker-scan
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
21-
- uses: docker-practice/actions-setup-docker@ccc771627519a0dc44b99c63f3ccf5fab1b1b9b8
20+
- name: Checkout code
21+
uses: actions/[email protected]
2222
- name: Build
23-
run: docker build -f Dockerfile -t user/app:latest .
24-
working-directory: code
23+
uses: docker/build-push-action@v6
24+
with:
25+
context: code
26+
push: false
27+
tags: user/app:latest
2528
#- name: Scan for vulnerabilities
2629
# uses: crazy-max/ghaction-container-scan@dfa7e54dc32045120f06d0bc8d7724860f5db0ad
2730
# with:
@@ -38,25 +41,25 @@ jobs:
3841
digest: ${{ steps.build_publish.outputs.digest }}
3942
steps:
4043
- name: Check out the repo
41-
uses: actions/checkout@v4
44+
uses: actions/checkout@v4.2.2
4245

4346
- name: Log in to Docker Hub
44-
uses: docker/login-action@v3.0.0
47+
uses: docker/login-action@v3.3.0
4548
with:
4649
username: finos
4750
password: ${{ secrets.DOCKER_PASSWORD }}
4851

4952
- name: Extract metadata (tags, labels) for Docker
5053
id: meta
51-
uses: docker/metadata-action@v5.5.1
54+
uses: docker/metadata-action@v5.6.1
5255
with:
5356
images: finos/a11y-theme-builder
5457
tags: |
5558
type=ref,event=branch
5659
type=sha
5760
- name: Build and push Docker image
5861
id: build_publish
59-
uses: docker/build-push-action@v5.1.0
62+
uses: docker/build-push-action@v6
6063
with:
6164
context: code
6265
push: true

.github/workflows/security.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
'code/src/ui']
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4.2.2
2828
- name: Set up Node
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4.2.0
3030
with:
31-
node-version: 18
31+
node-version: 22
3232
- name: Build project with NPM
3333
run: npm install --omit=dev
3434
working-directory: ${{ matrix.module-folder }}
@@ -44,24 +44,29 @@ jobs:
4444
--suppression .github/node-cve-ignore-list.xml
4545
--nodeAuditSkipDevDependencies
4646
--nodePackageSkipDevDependencies
47-
--failOnCVSS 5
47+
--failOnCVSS 6
4848
--enableRetired
4949
- name: Upload Test results
5050
if: ${{ always() }}
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4.6.0
5252
with:
5353
name: Depcheck report
5454
path: ${{ github.workspace }}/${{ matrix.module-folder }}-reports
55+
overwrite: true
5556
docker-scan:
5657
name: ${{ github.event.repository.name }}-docker-scan
5758
runs-on: ubuntu-latest
5859
steps:
59-
- uses: actions/checkout@v3
60-
- uses: docker-practice/actions-setup-docker@ccc771627519a0dc44b99c63f3ccf5fab1b1b9b8
60+
- name: Checkout code
61+
uses: actions/[email protected]
6162
- name: Build
62-
run: docker build -f Dockerfile -t user/app:latest .
63-
working-directory: code
63+
uses: docker/build-push-action@v6
64+
with:
65+
context: code
66+
push: false
67+
tags: user/app:latest
6468
- name: Scan for vulnerabilities
65-
uses: crazy-max/ghaction-container-scan@f17494a3e47d86fb17c2c1f89b25049492a82d1d
69+
uses: crazy-max/ghaction-container-scan@v3
6670
with:
6771
image: user/app:latest
72+

code/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.16.0-bookworm-slim
1+
FROM node:24.2.0-bookworm-slim
22
RUN node -v
33
# Copy source
44
RUN mkdir $HOME/code

0 commit comments

Comments
 (0)