From ae08f5b64f655be7a89325fc917058520dbd7b60 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sun, 11 Feb 2024 20:29:26 +0000 Subject: [PATCH] updated workflows --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/makecode.yml | 11 +++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 00bd3343e..bfa11242e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,11 +39,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@v1 + 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. @@ -54,7 +54,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@v1 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/makecode.yml b/.github/workflows/makecode.yml index eecfc7684..26873b1af 100644 --- a/.github/workflows/makecode.yml +++ b/.github/workflows/makecode.yml @@ -15,14 +15,13 @@ on: jobs: build: runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [20.x] + permissions: + actions: read + contents: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - name: npm install