Skip to content

chore: add stale workflow #163

chore: add stale workflow

chore: add stale workflow #163

Workflow file for this run

name: Continuous Integration
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- master
jobs:
Test:
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- name: Checkout Code
uses: actions/checkout@v1
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
version-file: .tool-versions
version-type: strict
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.update ssl_verify_fun
- name: Run Tests
run: mix test
Linting:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
version-file: .tool-versions
version-type: strict
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Formatter
run: mix format --check-formatted
- name: Run Credo
run: mix credo