From d092b02e223905a7320110c910fc47828a425e6a Mon Sep 17 00:00:00 2001 From: Enrique Ortiz Date: Mon, 26 Jun 2023 15:19:20 -0400 Subject: [PATCH 1/3] fix(tests): force install 0.8.19 through svm --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 072880a02503..4cfb7f3ba0bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,6 +47,15 @@ jobs: with: name: ${{ matrix.archive.name }} path: ${{ matrix.archive.file }} + install-svm-solc: + name: install svm and solidity 0.8.19 / ${{ matrix.job.name }} + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Install svm + run: cargo install svm-rs + - name: Install Solidity 0.8.19 + run: svm install 0.8.19 unit: name: unit tests / ${{ matrix.job.name }} From 5d325b278175dcf9b6ade48d48b3cdf336607bd1 Mon Sep 17 00:00:00 2001 From: Enrique Ortiz Date: Mon, 26 Jun 2023 15:20:37 -0400 Subject: [PATCH 2/3] chore: use installed version --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4cfb7f3ba0bd..226dff6a6fb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,8 @@ jobs: run: cargo install svm-rs - name: Install Solidity 0.8.19 run: svm install 0.8.19 + - name: Use Solidity 0.8.19 + run: svm use 0.8.19 unit: name: unit tests / ${{ matrix.job.name }} From d6cb2922e41597f3bee826ab8f69943d5778570b Mon Sep 17 00:00:00 2001 From: Enrique Ortiz Date: Mon, 26 Jun 2023 16:16:35 -0400 Subject: [PATCH 3/3] chore: also install 0.8.20 --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 226dff6a6fb1..8bf638aaf266 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,7 @@ jobs: name: ${{ matrix.archive.name }} path: ${{ matrix.archive.file }} install-svm-solc: - name: install svm and solidity 0.8.19 / ${{ matrix.job.name }} + name: install svm and solidity / ${{ matrix.job.name }} runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -56,6 +56,8 @@ jobs: run: cargo install svm-rs - name: Install Solidity 0.8.19 run: svm install 0.8.19 + - name: Install Solidity 0.8.20 + run: svm install 0.8.20 - name: Use Solidity 0.8.19 run: svm use 0.8.19