Skip to content

Commit 8f7aafc

Browse files
committed
Fix ci
1 parent 4b69bcf commit 8f7aafc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v3
23+
# selecting a toolchain either by action or manual `rustup` calls should happen
24+
# before the plugin, as the cache uses the current rustc version as its cache key
25+
- run: rustup toolchain install stable --profile minimal
2326
- uses: Swatinem/rust-cache@v2
2427
- name: Build
2528
run: cargo build
2629
- name: Test
2730
run: cargo test
2831
- name: Check capnp schema should match the generated code
32+
working-directory: ./hypersync-net-types
2933
run: |
3034
export DEBIAN_FRONTEND=noninteractive
3135
sudo apt-get install -y capnproto libcapnp-dev
@@ -46,6 +50,9 @@ jobs:
4650
runs-on: ubuntu-latest
4751
steps:
4852
- uses: actions/checkout@v3
53+
# selecting a toolchain either by action or manual `rustup` calls should happen
54+
# before the plugin, as the cache uses the current rustc version as its cache key
55+
- run: rustup toolchain install stable --profile minimal
4956
- uses: Swatinem/rust-cache@v2
5057
- name: Rustfmt
5158
run: cargo fmt --check

0 commit comments

Comments
 (0)