Integrate with new server_info callback on endpoints #206
Workflow file for this run
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: "CI" | |
on: ["push", "pull_request"] | |
jobs: | |
test_and_build: | |
name: "Compile & Lint" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Setup elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 24.3.3 | |
elixir-version: 1.13.4 | |
- uses: actions/checkout@v1 | |
- run: mix deps.get | |
- uses: actions/cache@v2 | |
id: mix-cache | |
with: | |
path: | | |
./_build | |
./priv/plts | |
key: deps-${{ hashFiles('**/mix.lock') }} | |
- if: steps.mix-cache.outputs.cache-hit != 'true' | |
run: | | |
mkdir -p priv/plts | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.compile | |
mix dialyzer --plt | |
- run: | | |
mix lint |