1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-17 10:17:07 +03:00

refactor(ci): use hardcoded workspace members for cargo-msrv command

This commit is contained in:
Orhun Parmaksız 2024-01-19 22:19:06 +01:00
parent f04bf6eca1
commit ec6035a7e7
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -144,7 +144,7 @@ jobs:
- name: Run cargo-msrv
shell: bash
run: |
for package in $(cargo metadata --format-version 1 | jq -r ".workspace_members[]" | awk '{print $1}'); do
for package in "git-cliff" "git-cliff-core"; do
printf "Checking MSRV for $package..."
cargo msrv --output-format json --path "$package" verify | tail -n 1 | jq --exit-status '.success'
done