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:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- 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
23
26
- uses : Swatinem/rust-cache@v2
24
27
- name : Build
25
28
run : cargo build
26
29
- name : Test
27
30
run : cargo test
28
31
- name : Check capnp schema should match the generated code
32
+ working-directory : ./hypersync-net-types
29
33
run : |
30
34
export DEBIAN_FRONTEND=noninteractive
31
35
sudo apt-get install -y capnproto libcapnp-dev
46
50
runs-on : ubuntu-latest
47
51
steps :
48
52
- 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
49
56
- uses : Swatinem/rust-cache@v2
50
57
- name : Rustfmt
51
58
run : cargo fmt --check
You can’t perform that action at this time.
0 commit comments