start pipeline_ci #3
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 Format | ||
on: pull_request | ||
jobs: | ||
check-format: | ||
name: Check Format | ||
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-format | ||
with: | ||
Check failure on line 21 in .github/workflows/formater.yml GitHub Actions / Verify FormatInvalid workflow file
|
||
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-format.outputs.cache-hit != 'true' | ||
run: mix deps.get | ||
- name: ==> FORMAT | ||
run: mix format --check-formatted |