From 6e30ae967fd08f664c1c4901da3ceb98b6d12524 Mon Sep 17 00:00:00 2001 From: azzamsa Date: Thu, 27 Jun 2024 07:14:32 +0700 Subject: [PATCH 1/2] ci: update dependencies version --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/nodejs.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index fd0ca2bb..87f3f4fc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 56a54cec..796682ed 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -22,7 +22,7 @@ jobs: with: task: start-measurement - name: "Checkout repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout Repo Measurement uses: green-coding-berlin/eco-ci-energy-estimation@v1 with: From a322171badfa3d42262792f1b542daed51962b27 Mon Sep 17 00:00:00 2001 From: azzamsa Date: Thu, 27 Jun 2024 07:20:15 +0700 Subject: [PATCH 2/2] ci: `Node v16` is deprecated --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 796682ed..bcbd8117 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x, 20.x] steps: - name: Initialize Energy Estimation uses: green-coding-berlin/eco-ci-energy-estimation@v1