Merge pull request #6 from AstroHQ/jtk/blob-tags #12
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
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "24.0" | |
elixir-version: "1.12.0" | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
deps | |
_build | |
priv/plts | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-mix- | |
- run: docker-compose up -d | |
- run: mix deps.get | |
- run: mix credo --strict | |
- run: mix dialyzer | |
- run: mix test --include external |