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:
parent
c1fa97071f
commit
84f20f906f
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user