Skip to content

Commit

Permalink
wip: pre-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalcora committed Mar 25, 2024
1 parent c653610 commit 577923c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ env:
MIX_ENV: test

jobs:
# Just runs the setup, which has the side effect of updating caches if needed.
# All other jobs require this one to complete first, so they don't all end up
# doing this work independently.
pre-cache:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup

ex-compile:
name: Elixir Warnings
runs-on: ubuntu-latest
needs: pre-cache
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand All @@ -27,6 +38,7 @@ jobs:
ex-credo:
name: Elixir Credo
runs-on: ubuntu-latest
needs: pre-cache
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand All @@ -35,6 +47,7 @@ jobs:
ex-dialyzer:
name: Elixir Dialyze
runs-on: ubuntu-latest
needs: pre-cache
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand All @@ -43,6 +56,7 @@ jobs:
ex-format:
name: Elixir Format
runs-on: ubuntu-latest
needs: pre-cache
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand All @@ -51,6 +65,7 @@ jobs:
ex-tests:
name: Elixir Tests
runs-on: ubuntu-latest
needs: pre-cache
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
Expand Down

0 comments on commit 577923c

Please sign in to comment.