Remove deprecated RDF.Diff.merge/2 #78
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: Elixir Quality Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
quality_checks: | |
name: Formatting and Unused Deps | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: ["1.17.2"] | |
otp: ["27.0.1"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Elixir Project | |
uses: ./.github/actions/elixir-setup | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
build-app: false | |
- name: Check for unused deps | |
run: mix deps.unlock --check-unused | |
- name: Check code formatting | |
run: mix format --check-formatted | |
# Check formatting even if there were unused deps so that | |
# we give devs as much feedback as possible & save some time. | |
if: always() | |
- name: Run Credo | |
run: mix credo suggest --min-priority=normal | |
# Run Credo even if formatting or the unused deps check failed | |
if: always() |