Skip to content

Commit aed2460

Browse files
committed
re-introduce CI caching
1 parent 0a0089d commit aed2460

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,24 @@ jobs:
8989
-S localhost -U sa -P 'SqlKit123!' -C \
9090
-Q "CREATE DATABASE sql_kit_test"
9191
92+
- name: Restore dependencies cache
93+
uses: actions/cache@v4
94+
with:
95+
path: |
96+
deps
97+
_build
98+
key: ${{ runner.os }}-mix-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ hashFiles('**/mix.lock') }}
99+
restore-keys: |
100+
${{ runner.os }}-mix-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-
101+
102+
- name: Restore PLT cache
103+
uses: actions/cache@v4
104+
with:
105+
path: priv/plts
106+
key: ${{ runner.os }}-plt-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ hashFiles('**/mix.lock') }}
107+
restore-keys: |
108+
${{ runner.os }}-plt-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-
109+
92110
- name: Install dependencies
93111
run: mix deps.get
94112

0 commit comments

Comments
 (0)