Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,15 @@ jobs:
with:
submodules: recursive

- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.18.2

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-e649e62f125244a3ef116be25dfdc81a2afbaf2a

- name: Print Versions
run: |
Expand Down Expand Up @@ -153,13 +160,15 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 20.x
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 20.18.2

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-e649e62f125244a3ef116be25dfdc81a2afbaf2a

- name: Install solhint
run: npm install -g solhint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ job "{{ job.name }}" {
{% endfor %}

artifact {
source = "https://nodejs.org/dist/v18.20.4/node-v18.20.4-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz"
source = "https://nodejs.org/dist/v20.18.2/node-v20.18.2-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz"
options {
archive = false
}
Expand Down Expand Up @@ -161,7 +161,7 @@ job "{{ job.name }}" {

tar \
--extract \
--file local/node-v18.20.4-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz \
--file local/node-v20.18.2-linux-{{ 'x64' if target_system_architecture == 'x86_64' else 'arm64' }}.tar.xz \
--directory /usr/local \
--strip-components=1

Expand Down