do not use oneOf for single constructor data type #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "27.1.2" | |
gleam-version: "1.6.1" | |
rebar3-version: "3" | |
# elixir-version: "1.15.4" | |
- run: gleam deps download | |
- run: gleam format --check src test | |
- run: gleam test --target=erlang | |
- run: gleam test --target=javascript |