feat: Update to Gleam 1.8.0 #55
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: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup BEAM | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 27.2 | |
gleam-version: 1.8.0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: 2.1 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.2 | |
- name: Install dependencies | |
run: gleam deps download | |
- name: Run tests | |
run: | | |
gleam test --target erlang | |
gleam test --target javascript --runtime node | |
gleam test --target javascript --runtime deno | |
gleam test --target javascript --runtime bun | |
- name: Check code formatting | |
run: gleam format --check src test |