From 413de870c5c6dbc3999f226961cc2b683bd105e5 Mon Sep 17 00:00:00 2001 From: Luis Rascao Date: Thu, 22 Oct 2020 09:09:15 +0100 Subject: [PATCH 1/2] Enable Github CI check on pull requests to master --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4632c23 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + push: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: erlang:22.0.7 + steps: + - uses: actions/checkout@v2 + - name: Compile + run: rebar3 compile + - name: Run tests, dialyzer + run: rebar3 do eunit,dialyzer From 1fd752fdf75439b75f42f3e728343ec21e1154d4 Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Thu, 22 Oct 2020 05:59:49 -0700 Subject: [PATCH 2/2] Use a reasonably old version of Erlang --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4632c23..65fda87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest container: - image: erlang:22.0.7 + image: erlang:21.3 steps: - uses: actions/checkout@v2 - name: Compile