readme #1
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: Verify Lint | |
on: pull_request | |
jobs: | |
lint: | |
name: Check Lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: [1.14.3] | |
otp: [25] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- uses: actions/cache@v1 | |
id: mix-cache-lint | |
with: | |
path: deps | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
- name: Install Mix Dependencies | |
if: steps.mix-cache-lint.outputs.cache-hit != 'true' | |
run: mix deps.get | |
- name: ==> Credo LINT | |
run: mix credo --strict |