ec3fe32d43
As now [recommended](https://github.com/actions/setup-elixir/tree/2071beb570a53fb599fbd638d0a4f4577d57143d#usage) in the action's README, the configuration versions should be strings so that YAML parsing doesn't truncate something like `23.0` to `23`, which isn't equivalent.
25 lines
490 B
YAML
25 lines
490 B
YAML
name: Elixir CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup elixir
|
|
uses: actions/setup-elixir@v1
|
|
with:
|
|
elixir-version: '1.9.4' # Define the elixir version [required]
|
|
otp-version: '22.2' # Define the OTP version [required]
|
|
- name: Install Dependencies
|
|
run: mix deps.get
|
|
- name: Run Tests
|
|
run: mix test
|