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:
|
2024-11-30 14:56:58 +00:00
|
|
|
image: catthehacker/ubuntu:act-22.04
|
2024-11-30 14:48:01 +00:00
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-11-30 15:22:46 +00:00
|
|
|
- uses: https://git.fromouter.space/hamcha/setup-beam@v1.18.2-forgejo.2
|
2024-11-30 14:48:01 +00:00
|
|
|
with:
|
2024-11-30 15:20:10 +00:00
|
|
|
container-image: ubuntu-22.04
|
2024-11-30 14:48:01 +00:00
|
|
|
- run: gleam deps download
|
|
|
|
- run: gleam test
|
|
|
|
- run: gleam format --check src test
|