File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ permissions:
1919 actions : write
2020
2121jobs :
22- checks :
22+ ci :
2323 env :
2424 CARGO_TERM_COLOR : always
2525
26- name : Apply code checks
26+ name : CI
2727 runs-on : ubuntu-latest
2828 steps :
2929 - name : Checkout repository
@@ -50,10 +50,10 @@ jobs:
5050 path : ./target/
5151 key : rust-build-${{ runner.os }}-${{ hashFiles('Cargo.toml', 'Cargo.lock', 'rust-toolchain') }}
5252
53- - name : Run checks (server)
53+ - name : Lint rust
5454 run : nix develop -c bash -c 'mkdir www/build && cargo clippy && cargo deny check --hide-inclusion-graph && cargo fmt --check'
5555
56- - name : Run checks (website)
56+ - name : Lint web
5757 run : nix develop -c bash -c 'cd www && bun install --locked && bun run check'
5858
5959 - name : Run tests
@@ -96,10 +96,11 @@ jobs:
9696 path : ./target/
9797 key : rust-build-${{ runner.os }}-${{ hashFiles('Cargo.toml', 'Cargo.lock', 'rust-toolchain') }}
9898
99- - name : Build binary
100- run : |
101- nix develop -c bash -c 'cd www && bun install --locked && bun run build'
102- nix develop -c cargo build --locked --release --no-default-features ${CARGO_FEATURES:+--features "$CARGO_FEATURES"}
99+ - name : Build web
100+ run : nix develop -c bash -c 'cd www && bun install --locked && bun run build'
101+
102+ - name : Compile rust
103+ run : nix develop -c cargo build --locked --release --no-default-features ${CARGO_FEATURES:+--features "$CARGO_FEATURES"}
103104
104105 - name : Build docker image
105106 run : nix develop -c docker build -t ssh-portfolio --build-arg CARGO_FEATURES=$CARGO_FEATURES .
You can’t perform that action at this time.
0 commit comments