Force re-run of action #47
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: Elixir CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install scenic dependencies | |
run: sudo apt-get update && sudo apt-get install pkgconf libglfw3 libglfw3-dev libglew2.0 libglew-dev | |
- name: Add secrets file | |
run: cp ./config/secret.example.exs ./config/secret.exs | |
- name: Setup elixir | |
uses: actions/setup-elixir@v1 | |
with: | |
elixir-version: 1.12.3 # Define the elixir version [required] | |
otp-version: 24 # Define the OTP version [required] | |
- name: Install nerves_bootstrap | |
run: mix archive.install --force hex nerves_bootstrap | |
- name: Install Dependencies | |
run: mix deps.get | |
env: | |
MIX_TARGET: host | |
- name: mix format --check-formatted | |
run: mix format --check-formatted | |
- name: Run Tests | |
run: mix test |