Add Github Actions supports

This commit only add github actions supports for compile and testing with
different version of Erlang and Elixir.
This commit is contained in:
niamtokik
2021-12-28 09:46:51 +00:00
parent 86bfee3ab5
commit 93b1dc7c38

18
.github/workflows/actions.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: dotzip-actions
on: [push]
jobs:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['21.3', '22.2', '23.3', '24.1']
elixir: ['1.9.4', '1.12.3', '1.13.1']
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix compile
- run: mix test