Skip to content

Commit 8a7ba2e

Browse files
authored
[CI] Add Rust and Go CI caches for faster builds (#60)
1 parent 90b8da9 commit 8a7ba2e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ jobs:
2727
- uses: actions/setup-go@v2
2828
with:
2929
go-version: "1.19"
30+
- uses: Swatinem/rust-cache@v1
31+
with:
32+
working-directory: bridge
33+
- name: Setup Golang test server caches
34+
uses: actions/cache@v3
35+
with:
36+
path: |
37+
~/.cache/go-build
38+
~/go/pkg/mod
39+
key: ${{ runner.os }}-golang-${{ hashFiles('spec/support/**/go.sum') }}
40+
restore-keys: |
41+
${{ runner.os }}-golang-
3042
- run: bundle install
3143
- run: bundle exec rubocop
3244
# Turned off for now because of an incompatibility in steep

0 commit comments

Comments
 (0)