aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 8ebfd03bf85f3ec5c49fb21b462349963e79ecb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: CI

on:
  push:
    branches:
      - 'main'
      - 'v*.*.*'
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.0.0
      - uses: gleam-lang/setup-erlang@v1.0.0
        with:
          otp-version: 22.2
      - uses: gleam-lang/setup-gleam@v1.0.1
        with:
          gleam-version: 0.11.2
      - run: rebar3 install_deps
      - run: rebar3 eunit
      - run: gleam format --check src test