25 lines
518 B
YAML
25 lines
518 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
container:
|
|
image: catthehacker/ubuntu:act-22.04
|
|
runs-on: docker
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://github.com/erlef/setup-beam@v1
|
|
environment:
|
|
ImageOS: ubuntu22
|
|
with:
|
|
otp-version: "27.1.2"
|
|
gleam-version: "1.6.2"
|
|
rebar3-version: "3"
|
|
- run: gleam deps download
|
|
- run: gleam test
|
|
- run: gleam format --check src test
|