[BUGFIX][MER-2569] Handle bad JWKS responses #36
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: Build & Test | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
env: | |
MIX_ENV: test | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v2 | |
- name: 🧪 Setup elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
elixir-version: 1.12.0 # Define the elixir version [required] | |
otp-version: 24.0 # Define the OTP version [required] | |
- name: ⬇️ Install elixir dependencies | |
run: mix deps.get | |
- name: 🔨 Build dependencies | |
run: mix deps.compile | |
- name: 🔨 Build project | |
run: mix clean && mix compile --warnings-as-errors | |
- name: ▶️ Run tests | |
run: mix test |