Skip to content

Commit

Permalink
Merge pull request #1 from lpil/upgrade
Browse files Browse the repository at this point in the history
Upgrade for Gleam v0.32
  • Loading branch information
bcpeinhardt authored Dec 27, 2023
2 parents 196bfb0 + cd7f004 commit 19bc1dc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.1
- uses: erlef/setup-beam@v1.15.3
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: "25.2"
gleam-version: "0.28.3"
gleam-version: "0.32.2"
rebar3-version: "3"
# elixir-version: "1.14.2"
- run: gleam format --check src test
Expand Down
6 changes: 2 additions & 4 deletions gleam.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name = "gsv"
version = "0.1.0"
gleam = ">= 0.32.0"
description = "A simple csv parser and generator written in gleam "

# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
#
licences = ["Apache-2.0"]
repository = { type = "github", user = "bcpeinhardt", repo = "gsv" }

Expand All @@ -17,4 +15,4 @@ internal_modules = [
gleam_stdlib = "~> 0.28"

[dev-dependencies]
gleeunit = "~> 0.10"
gleeunit = "~> 1.0"
8 changes: 4 additions & 4 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# You typically do not need to edit this file

packages = [
{ name = "gleam_stdlib", version = "0.28.2", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "088E334A00C9530D4B194F31406E51B6E4E4697C6A380D11591E60CC2F239724" },
{ name = "gleeunit", version = "0.10.1", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "ECEA2DE4BE6528D36AFE74F42A21CDF99966EC36D7F25DEB34D47DD0F7977BAF" },
{ name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" },
{ name = "gleeunit", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D3682ED8C5F9CAE1C928F2506DE91625588CC752495988CBE0F5653A42A6F334" },
]

[requirements]
gleam_stdlib = "~> 0.28"
gleeunit = "~> 0.10"
gleam_stdlib = { version = "~> 0.28" }
gleeunit = { version = "~> 1.0" }
2 changes: 1 addition & 1 deletion src/gsv/internal/ast.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import gleam/list
import gleam/result
import gsv/internal/token.{CR, Comma, CsvToken, Doublequote, LF, Textdata}
import gsv/internal/token.{type CsvToken, CR, Comma, Doublequote, LF, Textdata}

type ParseState {
Beginning
Expand Down

0 comments on commit 19bc1dc

Please sign in to comment.