File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,22 @@ jobs:
17
17
fmt:
18
18
runs-on: ubuntu-22.04
19
19
steps:
20
- - uses: actions/checkout@v2
20
+ - name: Checkout
21
+ uses: actions/checkout@v3
22
+ with:
23
+ submodules: 'recursive'
24
+ - name: Update submodule
25
+ run: |
26
+ git submodule update --remote
21
27
- uses: actions-rs/toolchain@v1
22
28
with:
23
29
profile: minimal
24
30
toolchain: nightly
31
+ target: wasm32-unknown-unknown
25
32
override: true
26
- - run: rustup component add rustfmt
33
+ - uses: Swatinem/rust-cache@v2
34
+ - name: Build
35
+ run: cargo build --features=ssr,hydrate
27
36
- uses: actions-rs/cargo@v1
28
37
with:
29
38
command: fmt
61
70
uses: actions/checkout@v3
62
71
with:
63
72
submodules: 'recursive'
64
-
65
73
- uses: actions-rs/toolchain@v1
66
74
with:
67
75
profile: minimal
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ fn main() {
21
21
22
22
// Generate src/extras/mod.rs
23
23
let mut out = fs::File::create("src/extras/mod.rs").unwrap();
24
- write!(out, "#[rustfmt::skip]\nmod comunities;\n#[rustfmt::skip]\nmod projects;\npub use comunities::*;\npub use projects::*;").unwrap();
24
+ write!(out, "#[rustfmt::skip]\nmod comunities;\n#[rustfmt::skip]\nmod projects;\npub use comunities::*;\npub use projects::*;\n ").unwrap();
25
25
26
26
for folder in folders {
27
27
let folder = folder.unwrap();
You can’t perform that action at this time.
0 commit comments