blob: f754191e210fa8254d1b6057d7954416e767c990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
name: test
on:
push:
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: "26.0.2"
# Ensure you update the bin/download-compiler Gleam version to match this
gleam-version: "1.1.0"
rebar3-version: "3"
- run: ./bin/download-compiler
- run: gleam deps download
- run: gleam format --check src test
- run: gleam test
- run: gleam run
|