From c9aae27b2999a3361357f122a3ab606250e8ff29 Mon Sep 17 00:00:00 2001 From: Oscar Zhou <100548325+oscarzhou-portainer@users.noreply.github.com> Date: Tue, 24 Jan 2023 14:41:00 +1300 Subject: [PATCH] fix(ci/security): update the node and golang version (#8387) --- .github/workflows/nightly-security-scan.yml | 8 ++++---- .github/workflows/pr-security.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nightly-security-scan.yml b/.github/workflows/nightly-security-scan.yml index c793fce80..65924dd1b 100644 --- a/.github/workflows/nightly-security-scan.yml +++ b/.github/workflows/nightly-security-scan.yml @@ -101,15 +101,15 @@ jobs: - name: Checkout code uses: actions/checkout@master - - name: Use golang 1.18 + - name: Use golang 1.19.4 uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.19.4' - - name: Use Node.js 12.x + - name: Use Node.js 18.x uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 18.x - name: Install packages and build run: yarn install && yarn build diff --git a/.github/workflows/pr-security.yml b/.github/workflows/pr-security.yml index e88720ef8..2af8a9ae9 100644 --- a/.github/workflows/pr-security.yml +++ b/.github/workflows/pr-security.yml @@ -136,15 +136,15 @@ jobs: - name: Checkout code uses: actions/checkout@master - - name: Use golang 1.18 + - name: Use golang 1.19.4 uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.19.4' - - name: Use Node.js 12.x + - name: Use Node.js 18.x uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 18.x - name: Install packages and build run: yarn install && yarn build