Add passkey autofill #172
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
env: | |
MIX_ENV: test | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
container: ${{ matrix.elixir }} | |
concurrency: production | |
strategy: | |
matrix: | |
elixir: ["elixir:latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: elixir --version | |
- run: mix local.hex --force | |
- run: mix local.rebar --force | |
- name: Hex Cache | |
uses: actions/cache@v3 | |
with: | |
path: deps | |
key: ${{ runner.os }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | |
${{ runner.os }}-${{ matrix.elixir }}-mix- | |
${{ runner.os }}- | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Compilation Cache | |
uses: actions/cache@v3 | |
with: | |
path: _build | |
key: ${{ runner.os }}-${{ matrix.elixir }}-compiled-${{ hashfiles('./mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.elixir }}-compiled-${{ hashfiles('./mix.lock') }} | |
${{ runner.os }}-${{ matrix.elixir }}-compiled- | |
${{ runner.os }}- | |
- name: Compile | |
run: mix compile --warnings-as-errors | |
- name: Run tests | |
run: mix test --warnings-as-errors | |
- name: Credo | |
run: mix credo --all |