mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Use --locked in cargo build and lint invocations (#21602)
This ensures CI fails if the committed lockfile is outdated
This commit is contained in:
@@ -75,7 +75,7 @@ jobs:
|
||||
- name: Cargo build
|
||||
working-directory: tools/argument-comment-lint
|
||||
shell: bash
|
||||
run: cargo build --release --target ${{ matrix.target }}
|
||||
run: cargo build --release --target ${{ matrix.target }} --locked
|
||||
|
||||
- name: Stage artifact
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user