Skip to content

Commit cecc949

Browse files
committed
cargo build/clippy with --locked
1 parent 32fc169 commit cecc949

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ jobs:
9898
if: matrix.c2a_user == 'subobc'
9999
working-directory: ./examples/mobc
100100
run: |
101-
cargo build
101+
cargo build --locked
102102
103103
- name: build C2A
104104
working-directory: ./examples/${{ matrix.c2a_user }}
105105
run: |
106-
cargo build
106+
cargo build --locked
107107
108108
- name: run mobc C2A
109109
if: matrix.c2a_user == 'mobc'

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: sksat/[email protected]
4141
with:
4242
reporter: ${{ github.event_name == 'pull_request' && 'github-pr-review' || 'github-check' }}
43-
clippy_flags: --workspace --all-features
43+
clippy_flags: --workspace --all-features --locked
4444

4545
- name: format
4646
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)