Skip to content

Commit

Permalink
ci: test with unlocked deps
Browse files Browse the repository at this point in the history
As recommended by Elixir's guide on best practices for libraries (https://hexdocs.pm/elixir/library-guidelines.html#dependency-handling)
  • Loading branch information
ahamez committed Nov 26, 2024
1 parent 565d3ba commit a5d8da5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
check_format: true
check_deps: true
dialyzer: true
- elixir: "1.17"
otp: "27"
check_format: true
check_deps: true
dialyzer: true
unlock_deps: true

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -86,6 +92,10 @@ jobs:
unzip -d protoc protoc-24.4-linux-x86_64.zip
echo "${PWD}/protoc/bin" >> $GITHUB_PATH
- name: Unlock all dependencies
run: mix deps.unlock --all
if: ${{ matrix.unlock_deps }}

- name: Install dependencies
run: |
mix local.rebar --force
Expand Down

0 comments on commit a5d8da5

Please sign in to comment.