update gleam.toml #8
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: tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Gleam | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26" | |
gleam-version: "0.31.0" | |
rebar3-version: "3" | |
- name: Set up Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Check Format | |
run: gleam format --check src test | |
- name: Get Dependencies | |
run: gleam deps download | |
- name: Test for Erlang | |
run: gleam test --target erlang | |
- name: Test for NodeJS | |
run: gleam test --runtime node --target javascript | |
- name: Test for Deno | |
run: gleam test --runtime deno --target javascript |