Skip to content

Commit c9af0b4

Browse files
committed
ci: --locked prevent reusing cache
1 parent 8235787 commit c9af0b4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ jobs:
6565
# TODO: rustup target add aarch64-unknown-linux-gnu
6666
# Linting tools
6767
cargo install cargo-shear
68-
cargo fetch --locked
68+
cargo fetch
6969
7070
- name: Build
7171
id: build
7272
if: always()
73-
run: cargo build --profile ${{ env.build-type }} --locked
73+
run: cargo build --profile ${{ env.build-type }}
7474

7575
- name: Tests
7676
id: tests
7777
if: always()
78-
run: cargo test --profile ${{ env.build-type }} --locked
78+
run: cargo test --profile ${{ env.build-type }}
7979

8080
- name: Clippy
8181
id: clippy
8282
if: always()
83-
run: cargo clippy --profile ${{ env.build-type }} --no-deps --locked -- --deny warnings
83+
run: cargo clippy --profile ${{ env.build-type }} --no-deps -- --deny warnings
8484

8585
- name: Format
8686
id: format
@@ -92,7 +92,7 @@ jobs:
9292
if: always()
9393
env:
9494
CARGO_BUILD_RUSTDOCFLAGS: "--deny warnings"
95-
run: cargo doc --profile ${{ env.build-type }} --document-private-items --no-deps --locked
95+
run: cargo doc --profile ${{ env.build-type }} --document-private-items --no-deps
9696

9797
- name: Shear
9898
if: always()

0 commit comments

Comments
 (0)