Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Add "--locked" to all cargo commands (#1235)
Browse files Browse the repository at this point in the history
Co-authored-by: crapStone <crapstone01@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1235
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
  • Loading branch information
crapStone and crapStone committed Mar 21, 2022
1 parent 479d37b commit 4d8ae01
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .woodpecker/tauri-app.yml
Expand Up @@ -13,10 +13,10 @@ pipeline:
- mkdir -p frontend/dist/CaBr2 && echo "Hello" > frontend/dist/CaBr2/index.html
- cd frontend/src-tauri
- cargo fmt -- --check
- cargo clippy --all-features -- --deny clippy::all --deny warnings
- cargo build --all-features
# does not work, because we need an `yarn install` before
- cargo clippy --locked --all-features -- --deny clippy::all --deny warnings
- cargo build --locked --all-features
# does not work, because we need a `yarn install` before
# - yarn build:release

# TODO(692) reactivate when tests are written
#- cargo test --all-features
#- cargo test --locked --all-features
4 changes: 2 additions & 2 deletions .woodpecker/wasm-lib.yml
Expand Up @@ -11,9 +11,9 @@ pipeline:
- rustup default stable
- cd frontend/src-wasm
- cargo fmt -- --check
- cargo clippy --all-features -- --deny clippy::all --deny warnings
- cargo clippy --locked --all-features -- --deny clippy::all --deny warnings
- wasm-pack build --out-dir ../cabr2_wasm --dev -- --features debug_build
- wasm-pack build --out-dir ../cabr2_wasm --release

# TODO(692) reactivate when tests are written
#- cargo test --all-features
#- cargo test --locked --all-features
6 changes: 3 additions & 3 deletions .woodpecker/webserver.yml
Expand Up @@ -11,9 +11,9 @@ pipeline:
- rustup default stable
- cd webserver
- cargo fmt -- --check
- cargo clippy --all-features -- --deny clippy::all --deny warnings
- cargo build --all-features
- cargo build --all-features --release
- cargo clippy --locked --all-features -- --deny clippy::all --deny warnings
- cargo build --locked --all-features
- cargo build --locked --all-features --release

# TODO(692) reactivate when tests are written
#- cargo test --all-features
4 changes: 2 additions & 2 deletions frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions webserver/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d8ae01

Please sign in to comment.