From 1ace3e603d5df03d6e2d3a2cacc37cebd28c1a67 Mon Sep 17 00:00:00 2001 From: mrekucci Date: Thu, 23 Jan 2025 16:53:28 -0500 Subject: [PATCH] fix: foundry version --- .github/workflows/ci.yml | 13 +++++++++++-- .../templates/jobs/contracts-deployer.nomad.j2 | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff9260a1f..59242ac20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | @@ -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 diff --git a/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 index 37dea090b..6736ae965 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 @@ -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 } @@ -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