File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1818 push :
1919 branches :
2020 - master
21- paths-ignore :
22- - " loco-gen/**"
23- - " loco-new/**"
2421 pull_request :
25- paths-ignore :
26- - " loco-gen/**"
27- - " loco-new/**"
2822
2923env :
3024 RUST_TOOLCHAIN : stable
@@ -55,13 +49,15 @@ jobs:
5549 loco new -n myappdb --db sqlite --bg async --assets serverside -a
5650 cd myappdb
5751 cargo check
52+ cargo build --release
5853 env:
5954 LOCO_DEV_MODE_PATH: ${{ github.workspace }}
6055
6156 - run : |
6257 loco new -n myapp --db none --bg none --assets none -a
6358 cd myapp
6459 cargo check
60+ cargo build --release
6561 env:
6662 LOCO_DEV_MODE_PATH: ${{ github.workspace }}
6763
Original file line number Diff line number Diff line change 5151 tool : cargo-hack
5252 - run : cargo hack check --each-feature
5353
54+ build :
55+ needs : [check, style]
56+ runs-on : ubuntu-latest
57+
58+ permissions :
59+ contents : read
60+
61+ steps :
62+ - name : Checkout the code
63+ uses : actions/checkout@v4
64+ - uses : dtolnay/rust-toolchain@stable
65+ with :
66+ toolchain : ${{ env.RUST_TOOLCHAIN }}
67+ - name : Setup Rust cache
68+ uses : Swatinem/rust-cache@v2
69+
70+ - name : Run cargo build
71+ run : cargo build --release
5472 test :
5573 needs : [check, style]
5674 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments