kmer/.forgejo/workflows/test.yml

26 lines
518 B
YAML
Raw Normal View History

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 14:51:08 +00:00
- uses: https://github.com/erlef/setup-beam@v1
2024-11-30 15:02:33 +00:00
environment:
2024-11-30 14:58:00 +00:00
ImageOS: ubuntu22
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