2024-11-30 14:48:01 +00:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2024-11-30 14:55:08 +00:00
|
|
|
container:
|
|
|
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
2024-11-30 14:48:01 +00:00
|
|
|
runs-on: docker
|
2024-11-30 14:55:08 +00:00
|
|
|
env:
|
|
|
|
ImageOS: ubuntu22
|
2024-11-30 14:48:01 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-11-30 14:51:08 +00:00
|
|
|
- uses: https://github.com/erlef/setup-beam@v1
|
2024-11-30 14:48:01 +00:00
|
|
|
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
|