From e5f082c4235cf41a5cd73a96014c64b30eb2ab81 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 19 Apr 2024 11:12:02 +0100 Subject: Use same version on CI, oops --- .github/workflows/deploy.yml | 15 +-------------- .github/workflows/test.yml | 3 ++- bin/download-compiler | 1 + 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 26d39d3..caa0f11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: - uses: erlef/setup-beam@v1 with: otp-version: "26.0.2" - gleam-version: "0.34.1" + gleam-version: "1.1.0" rebar3-version: "3" - name: Download WASM version of Gleam compiler @@ -35,19 +35,6 @@ jobs: - name: Build site run: gleam run - - name: Debug - run: | - head build/dev/javascript/prelude.mjs - echo - echo - ls -l public - echo - echo - ls -l public/precompiled - echo - echo - head public/precompiled/gleam.mjs - - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a56ef4..f754191 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,8 @@ jobs: - uses: erlef/setup-beam@v1 with: otp-version: "26.0.2" - gleam-version: "0.34.1" + # Ensure you update the bin/download-compiler Gleam version to match this + gleam-version: "1.1.0" rebar3-version: "3" - run: ./bin/download-compiler - run: gleam deps download diff --git a/bin/download-compiler b/bin/download-compiler index 26cf154..552cf44 100755 --- a/bin/download-compiler +++ b/bin/download-compiler @@ -2,6 +2,7 @@ set -eu +# Ensure you update the CI Gleam version to match this VERSION="v1.1.0" rm -fr wasm-compiler -- cgit v1.2.3