Skip to content

Commit

Permalink
build: fix Cargo.lock and pass --locked in CI (#5565)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Jan 20, 2025
1 parent 753d4a8 commit c4da050
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
working-directory: core
run: cargo build
run: cargo build --locked

build_all_features:
runs-on: ubuntu-latest
Expand All @@ -133,7 +133,7 @@ jobs:

- name: Build
working-directory: core
run: cargo build --all-features
run: cargo build --all-features --locked

build_all_platforms:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
services-webdav
services-webhdfs
)
cargo build --features "${FEATURES[*]}"
cargo build --features "${FEATURES[*]}" --locked
# We only support some services(see `available_services` below) for now.
build_under_wasm:
Expand All @@ -233,7 +233,7 @@ jobs:
services-s3
)
rustup target add wasm32-unknown-unknown
cargo build --target wasm32-unknown-unknown --no-default-features --features="${FEATURES[*]}"
cargo build --target wasm32-unknown-unknown --no-default-features --features="${FEATURES[*]}" --locked
unit:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions core/Cargo.lock

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

0 comments on commit c4da050

Please sign in to comment.