Skip to content

Commit cf8aaa6

Browse files
committed
Swatinem/rust-cacheを使うようにした
1 parent 8303298 commit cf8aaa6

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,10 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v2
4141

42-
- name: Cache cargo registry
43-
uses: actions/cache@v2
42+
- name: Cache dependencies
43+
uses: Swatinem/rust-cache@v1.3.0
4444
with:
45-
path: |
46-
~/.cargo/git
47-
~/.cargo/registry/cache
48-
~/.cargo/registry/index
49-
./atcoder-problems-backend/target
50-
key: ${{ runner.os }}-cargo-${{ hashFiles('atcoder-problems-backend/Cargo.lock') }}
45+
working-directory: ./atcoder-problems-backend
5146

5247
- name: Setup Postgresql
5348
run: psql ${SQL_URL} < ../config/database-definition.sql

0 commit comments

Comments
 (0)