philomena/.github/workflows/elixir.yml
2021-09-12 18:50:42 -04:00

27 lines
597 B
YAML

name: Philomena Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
_build
deps
key: ${{ runner.os }}-build-deps-${{ hashFiles('mix.lock') }}
- run: docker-compose pull
- run: docker-compose build
- name: Build and test
run: docker-compose run app run-test
- name: Security lint
run: |
docker-compose run app mix sobelow --config
docker-compose run app mix deps.audit