Skip to content

Commit 86624b9

Browse files
committed
Update s2i version, node version and bump dependencies
Signed-off-by: divyansh42 <diagrawa@redhat.com>
1 parent a066715 commit 86624b9

File tree

14 files changed

+2765
-6235
lines changed

14 files changed

+2765
-6235
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ on:
66
jobs:
77
lint:
88
name: Run ESLint
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- run: npm ci
1414
- run: npm run lint
1515

1616
check-dist:
1717
name: Check Distribution
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-22.04
1919
env:
2020
BUNDLE_FILE: "dist/index.js"
2121
BUNDLE_COMMAND: "npm run bundle"
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424

2525
- name: Install
2626
run: npm ci
@@ -33,11 +33,11 @@ jobs:
3333

3434
check-inputs-outputs:
3535
name: Check Input and Output enums
36-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-22.04
3737
env:
3838
IO_FILE: ./src/generated/inputs-outputs.ts
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v4
4141

4242
- name: Install dependencies
4343
run: npm ci

.github/workflows/link_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Check links in markdown
1515
runs-on: ubuntu-20.04
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1919
with:
2020
use-verbose-mode: true

.github/workflows/security_scan.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: Vulnerability Scan with CRDA
22
on:
3-
push:
3+
# push:
44
workflow_dispatch:
5-
pull_request_target:
6-
types: [ assigned, opened, synchronize, reopened, labeled, edited ]
7-
schedule:
8-
- cron: '0 0 * * *' # every day at midnight
5+
# pull_request_target:
6+
# types: [ assigned, opened, synchronize, reopened, labeled, edited ]
7+
# schedule:
8+
# - cron: '0 0 * * *' # every day at midnight
99

1010
jobs:
1111
crda-scan:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
name: Scan project vulnerability with CRDA
1414
steps:
1515

16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

1818
- name: Setup Node
1919
uses: actions/setup-node@v2

.github/workflows/verify-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626

2727
# Checkout S2I action github repository
2828
- name: Checkout s2i-build action
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030
with:
3131
path: 's2i-build'
3232

3333
# Checkout hello-world repository for testing
3434
- name: Checkout application
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v4
3636
with:
3737
repository: 'go-training/helloworld'
3838
path: ${{ env.TEST_REPO }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ and letting the container prepare that source code for execution. The base
1616
S2I container images contain the language runtime and build tools needed for
1717
building and running the source code.
1818

19-
This Action will install [the latest](https://github.com/openshift/source-to-image/releases/tag/v1.3.1) version of S2I.
19+
This Action will install [the latest](https://github.com/openshift/source-to-image/releases/tag/v1.3.9) version of S2I.
2020

2121
To install any specific version of `s2i` use [**openshift-tools-installer**](https://github.com/marketplace/actions/openshift-tools-installer).
2222
**NOTE:**

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ outputs:
3636
tags:
3737
description: 'List of the tags that were created, separated by spaces'
3838
runs:
39-
using: 'node16'
39+
using: 'node20'
4040
main: 'dist/index.js'

dist/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)