chore(workflows): add locked flag to cargo install for git-cliff
- Ensures reproducible builds by adding the `--locked` flag to cargo install - Improves dependency resolution consistency during git-cliff installation
This commit is contained in:
@@ -69,7 +69,7 @@ jobs:
|
||||
- name: Install git-cliff
|
||||
if: steps.restore-cliff.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
|
||||
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
|
||||
|
||||
- name: Generate unreleased changelog (if file exists or on main)
|
||||
run: |
|
||||
@@ -124,7 +124,7 @@ jobs:
|
||||
- name: Install git-cliff
|
||||
if: steps.restore-cliff.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
|
||||
cargo install git-cliff --locked --version "${{ steps.cliff_version.outputs.version }}" --features gitea
|
||||
|
||||
- name: Generate changelog for release and tag
|
||||
id: generate-changelog
|
||||
|
Reference in New Issue
Block a user