Skip to content

Commit 11822a0

Browse files
committed
Update Gleam version
1 parent e25d882 commit 11822a0

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
uses: actions/checkout@v4
2727
- uses: erlef/setup-beam@v1
2828
with:
29-
otp-version: "26.0.2"
30-
# Ensure you update the bin/download-compiler Gleam version to match this
31-
gleam-version: "1.11.0"
29+
otp-version: "28"
30+
# Ensure you update the ./GLEAM_VERSION to match this
31+
gleam-version: "1.12.0"
3232
rebar3-version: "3"
3333

3434
- name: Download WASM version of Gleam compiler

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: erlef/setup-beam@v1
1616
with:
17-
otp-version: "26.0.2"
18-
# Ensure you update the bin/download-compiler Gleam version to match this
19-
gleam-version: "1.11.0"
17+
otp-version: "28"
18+
# Ensure you update the ./GLEAM_VERSION to match this
19+
gleam-version: "1.12.0"
2020
rebar3-version: "3"
2121
- run: ./bin/download-compiler
2222
- run: gleam deps download
23-
- run: gleam format --check src test
2423
- run: gleam test
2524
- run: gleam run
25+
- run: gleam format --check src test

GLEAM_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.11.0
1+
v1.12.0

bin/download-compiler

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
set -eu
44

5-
version=`cat ./GLEAM_VERSION`
6-
7-
# Ensure you update the CI Gleam version to match this
8-
VERSION="v1.11.0"
5+
version=$(cat ./GLEAM_VERSION)
96

107
rm -fr wasm-compiler
118
mkdir wasm-compiler

src/playground.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ fn require(
264264
fn read_gleam_version() -> snag.Result(String) {
265265
gleam_version
266266
|> simplifile.read()
267-
|> file_error("Failed to read glema version at path " <> gleam_version)
267+
|> file_error("Failed to read Gleam version at path " <> gleam_version)
268268
}
269269

270270
fn file_error(

0 commit comments

Comments
 (0)