Skip to content

Commit 53b04e4

Browse files
committed
feat: Update to Gleam 1.11.0
1 parent cf487ab commit 53b04e4

File tree

6 files changed

+202
-370
lines changed

6 files changed

+202
-370
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Release
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
67

78
permissions:
89
contents: write
@@ -16,13 +17,13 @@ jobs:
1617

1718
steps:
1819
- name: Checkout repository
19-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2021

2122
- name: Setup BEAM
2223
uses: erlef/setup-beam@v1
2324
with:
24-
otp-version: 27.2
25-
gleam-version: 1.9.1
25+
otp-version: 28.0
26+
gleam-version: 1.11.0
2627

2728
- name: Wait for tests to complete
2829
uses: lewagon/[email protected]

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Setup BEAM
1818
uses: erlef/setup-beam@v1
1919
with:
20-
otp-version: 27.2
21-
gleam-version: 1.9.1
20+
otp-version: 28.0
21+
gleam-version: 1.11.0
2222

2323
- name: Setup Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 22.13
26+
node-version: 22.16
2727

2828
- name: Setup Deno
2929
uses: denoland/setup-deno@v2
3030
with:
31-
deno-version: 2.1
31+
deno-version: 2.3
3232

3333
- name: Setup Bun
3434
uses: oven-sh/setup-bun@v2

gleam.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name = "file_streams"
22
description = "Gleam library for working with file streams."
3-
gleam = ">= 1.9.0"
3+
gleam = ">= 1.11.0"
44
licences = ["MIT"]
55
repository = { type = "github", user = "richard-viney", repo = "file_streams" }
66
links = [
77
{ title = "Website", href = "https://github.com/richard-viney/file_streams" },
88
]
99

1010
[dependencies]
11-
gleam_stdlib = ">= 0.57.0 and < 2.0.0"
11+
gleam_stdlib = ">= 0.60.0 and < 2.0.0"
1212

1313
[dev-dependencies]
14-
gleeunit = ">= 1.3.0 and < 2.0.0"
14+
gleeunit = ">= 1.3.1 and < 2.0.0"
1515
simplifile = ">= 2.2.0 and < 3.0.0"
1616

1717
[javascript]

manifest.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# You typically do not need to edit this file
33

44
packages = [
5-
{ name = "filepath", version = "1.1.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "67A6D15FB39EEB69DD31F8C145BB5A421790581BD6AA14B33D64D5A55DBD6587" },
6-
{ name = "gleam_stdlib", version = "0.57.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "86EFACDF6460B8681E82752C5490F9630EC0F138F88A037DDCB241799AA8811F" },
7-
{ name = "gleeunit", version = "1.3.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "0E6C83834BA65EDCAAF4FE4FB94AC697D9262D83E6F58A750D63C9F6C8A9D9FF" },
8-
{ name = "simplifile", version = "2.2.0", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "0DFABEF7DC7A9E2FF4BB27B108034E60C81BEBFCB7AB816B9E7E18ED4503ACD8" },
5+
{ name = "filepath", version = "1.1.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "filepath", source = "hex", outer_checksum = "B06A9AF0BF10E51401D64B98E4B627F1D2E48C154967DA7AF4D0914780A6D40A" },
6+
{ name = "gleam_stdlib", version = "0.60.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "621D600BB134BC239CB2537630899817B1A42E60A1D46C5E9F3FAE39F88C800B" },
7+
{ name = "gleeunit", version = "1.3.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "A7DD6C07B7DA49A6E28796058AA89E651D233B357D5607006D70619CD89DAAAB" },
8+
{ name = "simplifile", version = "2.2.1", build_tools = ["gleam"], requirements = ["filepath", "gleam_stdlib"], otp_app = "simplifile", source = "hex", outer_checksum = "C88E0EE2D509F6D86EB55161D631657675AA7684DAB83822F7E59EB93D9A60E3" },
99
]
1010

1111
[requirements]
12-
gleam_stdlib = { version = ">= 0.57.0 and < 2.0.0" }
13-
gleeunit = { version = ">= 1.3.0 and < 2.0.0" }
12+
gleam_stdlib = { version = ">= 0.60.0 and < 2.0.0" }
13+
gleeunit = { version = ">= 1.3.1 and < 2.0.0" }
1414
simplifile = { version = ">= 2.2.0 and < 3.0.0" }

test/file_stream_error_test.gleam

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import file_streams/file_stream_error
2-
import gleeunit/should
32

43
pub fn describe_test() {
5-
file_stream_error.describe(file_stream_error.Eacces)
6-
|> should.equal("Permission denied")
4+
assert file_stream_error.describe(file_stream_error.Eacces)
5+
== "Permission denied"
76
}

0 commit comments

Comments
 (0)