Update workflows to Node.js 20

Node.js 16 actions are deprecated.  For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
This commit is contained in:
Krystine Sherwin 2024-01-27 11:20:48 +13:00
parent 80511ced71
commit 7e524e0588
No known key found for this signature in database
7 changed files with 15 additions and 15 deletions

View File

@ -14,10 +14,10 @@ jobs:
run: sudo apt-get install bison flex libreadline-dev tcl-dev libffi-dev run: sudo apt-get install bison flex libreadline-dev tcl-dev libffi-dev
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v3
with: with:
languages: cpp languages: cpp
queries: security-extended,security-and-quality queries: security-extended,security-and-quality
@ -26,4 +26,4 @@ jobs:
run: make yosys -j6 run: make yosys -j6
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v3

View File

@ -6,13 +6,13 @@ jobs:
emcc: emcc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: mymindstorm/setup-emsdk@v11 - uses: mymindstorm/setup-emsdk@v14
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: | run: |
make config-emcc make config-emcc
make YOSYS_VER=latest make YOSYS_VER=latest
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: yosysjs name: yosysjs
path: yosysjs-latest.zip path: yosysjs-latest.zip

View File

@ -79,7 +79,7 @@ jobs:
$CXX --version $CXX --version
- name: Checkout Yosys - name: Checkout Yosys
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Get iverilog - name: Get iverilog
shell: bash shell: bash
@ -91,7 +91,7 @@ jobs:
- name: Cache iverilog - name: Cache iverilog
id: cache-iverilog id: cache-iverilog
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: .local/ path: .local/
key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }} key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }}

View File

@ -35,7 +35,7 @@ jobs:
cc --version cc --version
- name: Checkout Yosys - name: Checkout Yosys
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Get iverilog - name: Get iverilog
shell: bash shell: bash
@ -47,7 +47,7 @@ jobs:
- name: Cache iverilog - name: Cache iverilog
id: cache-iverilog id: cache-iverilog
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: .local/ path: .local/
key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }} key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }}

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Take last commit - name: Take last commit

View File

@ -6,10 +6,10 @@ jobs:
yosys-vcxsrc: yosys-vcxsrc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: make vcxsrc YOSYS_VER=latest run: make vcxsrc YOSYS_VER=latest
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: vcxsrc name: vcxsrc
path: yosys-win32-vcxsrc-latest.zip path: yosys-win32-vcxsrc-latest.zip
@ -18,7 +18,7 @@ jobs:
runs-on: windows-2019 runs-on: windows-2019
needs: yosys-vcxsrc needs: yosys-vcxsrc
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: vcxsrc name: vcxsrc
path: . path: .

View File

@ -6,7 +6,7 @@ jobs:
wasi: wasi:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: | run: |
WASI_SDK=wasi-sdk-19.0 WASI_SDK=wasi-sdk-19.0