Skip to content

Generate and validate a CSRF token for POST and PUT requests #110

Generate and validate a CSRF token for POST and PUT requests

Generate and validate a CSRF token for POST and PUT requests #110

Workflow file for this run

name: CI
on: push
jobs:
tests:
runs-on: ubuntu-latest
env:
SHELL: bash
steps:
- uses: actions/checkout@v1
- uses: erlef/setup-beam@v1
with:
otp-version: "25.0"
elixir-version: "1.14"
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git build-essential
- name: Setup elixir
run: |
mix deps.get
mix compile
env:
MIX_ENV: test
- name: Verify application
run: |
mix format --check-formatted
mix compile --force --warnings-as-errors
mix credo
mix test
env:
MIX_ENV: test