22 lines
478 B
YAML
22 lines
478 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://git.fromouter.space/hamcha/setup-beam@v1.18.2-forgejo.2
|
|
with:
|
|
container-image: ubuntu-22.04
|
|
version-file: .tool-versions
|
|
- run: gleam deps download
|
|
- run: gleam test
|
|
- run: gleam format --check src test
|