aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check.yaml
blob: c3d53782d414dc93dbb85918c896ac1b21d68395 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Check
on:
  push:
    branches:
      - main
  pull_request:
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: erlef/setup-beam@v1
        with:
          otp-version: "26.1"
          gleam-version: "1.2.0"
          rebar3-version: "3"
          # elixir-version: "1.15.4"
      - run: gleam deps download
      - run: gleam format --check src
      - run: gleam check