Skip to content

Commit e2e3ea9

Browse files
fix updated Node.js 16 in GH workflow actions (#2836)
* fix Node.js 12 actions are deprecated in GH workflow actions Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * updated setup-node and upload-artifact Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * used coactions/setup-xvfb as gabrielbb/xvfb-action deprecated and bump codecov/codecov-action version to 3.1.2 Signed-off-by: msivasubramaniaan <msivasub@redhat.com> * updated sha for coactions/setup-xvfb Signed-off-by: msivasubramaniaan <msivasub@redhat.com> --------- Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 2cd7427 commit e2e3ea9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/check-crc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
steps:
1414
- name: Check Out Code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
- name: Get latest CRC version
1717
run: |
1818
echo "REPO_CRC_VERSION=$(cat src/tools.json | jq -r .crc.crcVersion)" >> $GITHUB_ENV

.github/workflows/check-odo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212
steps:
1313
- name: Check Out Code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Get latest ODO version
1616
run: |
1717
echo "REPO_ODO_VERSION=$(cat src/tools.json | jq -r .odo.version)" >> $GITHUB_ENV

.github/workflows/continuous-integration-workflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
# Steps represent a sequence of tasks that will be executed as part of the job
2525
steps:
2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828

2929
# Set up Node
3030
- name: Use Node.js ${{ matrix.node }}
31-
uses: actions/setup-node@v1
31+
uses: actions/setup-node@v3
3232
with:
3333
node-version: ${{ matrix.node }}
3434

@@ -38,23 +38,23 @@ jobs:
3838

3939
# Run tests
4040
- name: Build and Test
41-
uses: GabrielBB/xvfb-action@fe2609f8182a9ed5aee7d53ff3ed04098a904df2 #v1.0
41+
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 #v1.0.1
4242
env:
4343
NODE_OPTIONS: --max_old_space_size=16384
4444
with:
4545
run: npm run test:coverage --silent
4646

4747
# Upload coverage to codecov.io
4848
- name: Codecov
49-
uses: codecov/codecov-action@07127fde53bc3ccd346d47ab2f14c390161ad108 #v1.0.12
49+
uses: codecov/codecov-action@40a12dcee2df644d47232dde008099a3e9e4f865 #v3.1.2
5050
if: runner.os == 'Linux'
5151
with:
5252
file: ./out/coverage/coverage-final.json
5353

5454
# UI tests fail under linux
5555
# Run UI tests
5656
- name: Run UI Tests
57-
uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d #v1.6
57+
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 #v1.0.1
5858
env:
5959
NODE_OPTIONS: --max_old_space_size=16384
6060
if: runner.os == 'Linux'
@@ -64,7 +64,7 @@ jobs:
6464

6565
# Archiving integration tests artifacts
6666
- name: Upload test artifacts
67-
uses: actions/upload-artifact@v2
67+
uses: actions/upload-artifact@v3
6868
if: failure() && runner.os == 'Linux'
6969
with:
7070
name: artifacts-${{ matrix.os }}

0 commit comments

Comments
 (0)