Merge pull request #28 from RoadRunnr/master #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |