Update Gleam versions in README.md (#308)

5fa4c5f · Richard Viney · 2024-11-13 00:53

13 files +65 -77

Files changed

modified .github/workflows/ubuntu.yml
+5 −13
@@ -105,22 +105,14 @@ jobs:
105 105 otp-version: '25'
106 106 os: 'ubuntu-20.04'
107 107 version-type: 'strict'
108 - gleam-version: '0.23'
109 otp-version: '24'
110 os: 'ubuntu-latest'
111 disable_problem_matchers: true
112 - gleam-version: '0.23.0-rc1'
113 otp-version: '24'
108 + - gleam-version: '1.5.1'
109 + otp-version: '27'
114 110 os: 'ubuntu-latest'
115 111 disable_problem_matchers: true
116 - gleam-version: '0.23.0-rc1'
112 + - gleam-version: '1.5.1'
117 113 otp-version: false
118 114 os: 'ubuntu-latest'
119 115 disable_problem_matchers: true
120 - gleam-version: '0.22.0' # Version with Gleam's old archive naming convention
121 otp-version: '24'
122 os: 'ubuntu-latest'
123 disable_problem_matchers: true
124 116 - elixir-version: 'v1.13'
125 117 otp-version: '24'
126 118 escript_packages: 'hex protobuf'
@@ -168,12 +160,12 @@ jobs:
168 160 if: ${{matrix.combo.rebar3-version}}
169 161 - name: Format Gleam project (without installing Erlang/OTP)
170 162 run: |
171 cd test/projects/gleam_gleam
163 + cd test/projects/gleamgleam
172 164 gleam format
173 165 if: ${{ matrix.combo.gleam-version && !matrix.combo.otp-version }}
174 166 - name: Run Gleam project tests (without `rebar3`)
175 167 run: |
176 cd test/projects/gleam_gleam
168 + cd test/projects/gleamgleam
177 169 gleam test
178 170 if: ${{ matrix.combo.gleam-version && matrix.combo.otp-version && !matrix.combo.rebar3-version }}
179 171 - name: Run escript
modified .github/workflows/windows.yml
+2 −5
@@ -58,11 +58,8 @@ jobs:
58 58 otp-version: '24'
59 59 rebar3-version: '3.15'
60 60 os: 'windows-latest'
61 - gleam-version: '0.19.0-rc3'
62 otp-version: '24'
63 os: 'windows-latest'
64 - gleam-version: '0.23.0-rc1'
65 otp-version: '24'
61 + - gleam-version: '1.5.1'
62 + otp-version: '27'
66 63 os: 'windows-latest'
67 64 - elixir-version: 'v1.13'
68 65 otp-version: '24'
modified README.md
+4 −4
@@ -121,7 +121,7 @@ The action provides the following outputs:
121 121 |- |-
122 122 | `otp-version` | The Erlang version, e.g. `OTP-26.0`
123 123 | `elixir-version` | The Elixir version, e.g. `v1.14-otp-26`
124 | `gleam-version` | The Gleam version, e.g. `v0.23.0`
124 +| `gleam-version` | The Gleam version, e.g. `v1.5.1`
125 125 | `rebar3-version` | The `rebar3` version, e.g. `3.18.0`
126 126 | `setup-beam-version` | The commit unique id of the executed action version, e.g. `a34c98f`
127 127
@@ -293,8 +293,8 @@ jobs:
293 293 - uses: actions/checkout@v4
294 294 - uses: erlef/setup-beam@v1
295 295 with:
296 otp-version: '24'
297 gleam-version: '0.23.0-rc1'
296 + otp-version: '27'
297 + gleam-version: '1.5.1'
298 298 - run: gleam test
299 299 ```
300 300
@@ -312,7 +312,7 @@ jobs:
312 312 - uses: erlef/setup-beam@v1
313 313 with:
314 314 otp-version: false
315 gleam-version: '0.23.0-rc1'
315 + gleam-version: '1.5.1'
316 316 - run: gleam check
317 317 ```
318 318
deleted test/projects/gleam_gleam/README.md
+0 −19
@@ -1,19 +0,0 @@
1 # gleam_gleam
2
3 A Gleam project
4
5 ## Quick start
6
7 ```sh
8 gleam run # Run the project
9 gleam test # Run the tests
10 gleam shell # Run an Erlang shell
11 ```
12
13 ## Installation
14
15 If available on Hex this package can be added to your Gleam project.
16
17 ```sh
18 gleam add gleam_gleam
19 ```
deleted test/projects/gleam_gleam/gleam.toml
+0 −16
@@ -1,16 +0,0 @@
1 name = "gleam_gleam"
2 version = "0.1.0"
3
4 # Fill out these fields if you intend to generate HTML documentation or publish
5 # your project to the Hex package manager.
6 #
7 # licences = ["Apache-2.0"]
8 # description = "A Gleam library..."
9 # repository = { type = "github", user = "username", repo = "project" }
10 # links = [{ title = "Website", href = "https://gleam.run" }]
11
12 [dependencies]
13 gleam_stdlib = "~> 0.18"
14
15 [dev-dependencies]
16 gleeunit = "~> 0.5"
deleted test/projects/gleam_gleam/manifest.toml
+0 −11

Click to load diff…

deleted test/projects/gleam_gleam/src/gleam_gleam.gleam
+0 −5

Click to load diff…

renamed test/projects/gleam_gleam/.github/workflows/test.yml → test/projects/gleamgleam/.github/workflows/test.yml
+5 −3

Click to load diff…

renamed test/projects/gleam_gleam/.gitignore → test/projects/gleamgleam/.gitignore
+1 −1

Click to load diff…

added test/projects/gleamgleam/README.md
+24 −0

Click to load diff…

added test/projects/gleamgleam/gleam.toml
+19 −0

Click to load diff…

added test/projects/gleamgleam/src/gleamgleam.gleam
+5 −0

Click to load diff…

renamed
+0 −0

Click to load diff…

Parents: 58e153b