From 208207e0a84748d7a2b1a4d22b20f2130f150604 Mon Sep 17 00:00:00 2001 From: Jason Schrader Date: Thu, 4 Apr 2024 21:15:59 -0700 Subject: [PATCH 1/2] fix: pin clarinet version 1.8.0 Version 2.x introduces a breaking change where clarinet test is deprecated in favor of the Clarinet JS SDK. --- .github/workflows/test-contracts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-contracts.yaml b/.github/workflows/test-contracts.yaml index 7193f4e3..872074ec 100644 --- a/.github/workflows/test-contracts.yaml +++ b/.github/workflows/test-contracts.yaml @@ -25,11 +25,11 @@ jobs: - name: "Checkout code" uses: actions/checkout@v3 - name: "Check contract syntax" - uses: docker://hirosystems/clarinet:latest + uses: docker://hirosystems/clarinet:v1.8.0 with: args: check - name: "Run all contract tests" - uses: docker://hirosystems/clarinet:latest + uses: docker://hirosystems/clarinet:v1.8.0 with: args: test --coverage - name: "Upload code coverage" From fbc58a3fe7eb5e80a064e1b90571139cea6f926c Mon Sep 17 00:00:00 2001 From: Jason Schrader Date: Thu, 4 Apr 2024 21:18:52 -0700 Subject: [PATCH 2/2] fix: there is no v in version --- .github/workflows/test-contracts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-contracts.yaml b/.github/workflows/test-contracts.yaml index 872074ec..209728e8 100644 --- a/.github/workflows/test-contracts.yaml +++ b/.github/workflows/test-contracts.yaml @@ -25,11 +25,11 @@ jobs: - name: "Checkout code" uses: actions/checkout@v3 - name: "Check contract syntax" - uses: docker://hirosystems/clarinet:v1.8.0 + uses: docker://hirosystems/clarinet:1.8.0 with: args: check - name: "Run all contract tests" - uses: docker://hirosystems/clarinet:v1.8.0 + uses: docker://hirosystems/clarinet:1.8.0 with: args: test --coverage - name: "Upload code coverage"