-
Notifications
You must be signed in to change notification settings - Fork 23
45 lines (35 loc) · 856 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Shellcheck
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
jobs:
linux:
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ["23.0"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: gleam-lang/[email protected]
with:
otp-version: ${{ matrix.otp_version }}
- name: Compile
run: rebar3 compile
- name: Dialyzer
run: rebar3 dialyzer
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.6.5'
cabal-version: '3.0'
- name: Update cabal
run: cabal update
- name: Install shelltestrunner
run: cabal install shelltestrunner-1.9
- name: Run shell tests
run: shelltests/run_tests.sh