Skip to content

chore: add github action badges #6

chore: add github action badges

chore: add github action badges #6

Workflow file for this run

name: Coverage
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Coverage:
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.16.1' # Define the elixir version [required]
otp-version: '26.2.1' # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: |
_build
deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}-${{ hashFiles('./.tool-versions') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install Dependencies
run: mix deps.get
- name: Compile Project
run: mix compile
- name: Run Coveralls
run: mix coveralls.json
- name: Upload to codecov.io
uses: codecov/codecov-action@v1