File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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
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
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
4956 - uses : Swatinem/rust-cache@v2
5057 - name : Rustfmt
5158 run : cargo fmt --check
You can’t perform that action at this time.
0 commit comments