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

chore(cargo): update MSRV to 1.64.0

This commit is contained in:
Orhun Parmaksız 2023-04-28 14:27:35 +03:00
parent c1fa97071f
commit 84f20f906f
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
5 changed files with 23 additions and 4 deletions

View File

@ -116,3 +116,22 @@ jobs:
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
msrv:
name: Check Rust version
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run cargo-msrv
shell: bash
run: |
curl -s 'https://api.github.com/repos/foresterre/cargo-msrv/releases' | \
jq -r "[.[] | select(.prerelease == false)][0].assets[] | \
select(.name | ascii_downcase | test(\"linux.*x86_64|x86_64.*linux\")).browser_download_url" | \
wget -qi -
tar -xvf cargo-msrv*.tar* -C ~/.cargo/bin/ cargo-msrv
for package in $(cargo metadata --format-version 1 | jq -r ".workspace_members[]" | awk '{print $1}'); do
printf "Checking MSRV for $package..."
cargo msrv --output-format json --path "$package" verify | tail -n 1 | jq --exit-status '.success'
done

View File

@ -17,7 +17,7 @@ Note that we have a [Code of Conduct](./CODE_OF_CONDUCT.md), please follow it in
git clone https://github.com/{username}/git-cliff && cd git-cliff
```
3. Make sure that you have [Rust](https://www.rust-lang.org/) `1.60.0` or later installed and build the project.
3. Make sure that you have [Rust](https://www.rust-lang.org/) `1.64.0` or later installed and build the project.
```sh
cargo build

View File

@ -8,7 +8,7 @@ homepage = "https://github.com/orhun/git-cliff"
repository = "https://github.com/orhun/git-cliff"
keywords = ["changelog", "generator", "conventional", "commit"]
edition = "2021"
rust-version = "1.60.0"
rust-version = "1.64.0"
[dependencies]
glob.workspace = true

View File

@ -11,7 +11,7 @@ keywords = ["changelog", "generator", "conventional", "commit"]
categories = ["command-line-utilities"]
default-run = "git-cliff"
edition = "2021"
rust-version = "1.60.0"
rust-version = "1.64.0"
[[bin]]
name = "git-cliff-completions"

View File

@ -6,4 +6,4 @@
cargo install git-cliff
```
Minimum supported Rust version is `1.60.0`.
The minimum supported Rust version is `1.64.0`.