Switch to h3 3.7.2 #83
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
CI: | |
runs-on: ubuntu-18.04 | |
container: heliumsystems/builder-erlang:2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cancel previous runs | |
if: ${{ !env.ACT }} | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Cache Hex Packages | |
if: ${{ !env.ACT }} | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/rebar3/hex/hexpm/packages | |
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }} | |
restore-keys: | | |
${{ runner.os }}-hex- | |
- name: Cache Dialyzer PLTs | |
if: ${{ !env.ACT }} | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/rebar3/rebar3_*_plt | |
key: ${{ runner.os }}-dialyzer-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.config')) }} | |
restore-keys: | | |
${{ runner.os }}-dialyzer- | |
- name: Build | |
run: rebar3 compile | |
- name: Run tests | |
run: rebar3 as test do eunit,ct | |
# cover is broken on this repo, see | |
# https://github.com/erlang/otp/pull/4766 |