diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-04-19 11:12:02 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-04-19 11:12:02 +0100 |
commit | e5f082c4235cf41a5cd73a96014c64b30eb2ab81 (patch) | |
tree | 80b0e69e2284d542624da6884a4ba1b1c54303da | |
parent | bdcba1a00d01a0b5d84047bc2bc407e131aaa2ed (diff) | |
download | tour-e5f082c4235cf41a5cd73a96014c64b30eb2ab81.tar.gz tour-e5f082c4235cf41a5cd73a96014c64b30eb2ab81.zip |
Use same version on CI, oops
-rw-r--r-- | .github/workflows/deploy.yml | 15 | ||||
-rw-r--r-- | .github/workflows/test.yml | 3 | ||||
-rwxr-xr-x | 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 |