aboutsummaryrefslogtreecommitdiff
path: root/workflows/test.yml
blob: 7ffcda6defa1a705756502731c5f3d48851b6cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: test

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.0.0
      - uses: erlef/setup-beam@v1
        with:
          otp-version: "24.2"
          elixir-version: "1.13.1"
          gleam-version: "0.19.0-rc3"
      - run: gleam test
      - run: gleam format --check src test