Skip to content

Commit

Permalink
More CI fixes (#5)
Browse files Browse the repository at this point in the history
* Install hex

* Cache hex?

* Add workflow dispatch

* Dont skip dep install
  • Loading branch information
paradox460 committed Nov 14, 2023
1 parent 0db40b3 commit 76f3b0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches: ["main"]
merge_group:
workflow_dispatch:

jobs:
ci:
Expand All @@ -20,11 +21,12 @@ jobs:
path: |
deps
_build
.mix/archives/
key: test-${{hashFiles('.rtx.toml')}}-${{hashFiles('mix.lock')}}
restore-keys: test-${{hashFiles('.rtx.toml')}}-
- name: Install Dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: mix deps.get
run: |
mix deps.get
- name: Run Tests
run: |
mix test --warnings-as-errors

0 comments on commit 76f3b0d

Please sign in to comment.