Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Change MSRV to 1.62.0 #131

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 44 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,49 @@ on:
- cron: "0 0 * * 0"

jobs:
check:
name: Check
runs-on: ${{ matrix.os }}
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
toolchain:
- 1.62.0 # MSRV
- stable
- nightly
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
- target: aarch64-apple-darwin
os: macos-14
- target: x86_64-pc-windows-msvc
os: windows-2022
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
targets: ${{ matrix.target }}
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2.7.5
with:
key: ${{ matrix.target }}
- name: Check a package
run: cargo check --target ${{ matrix.target }}
- name: Check a package (no default features)
run: cargo check --target ${{ matrix.target }} --no-default-features
- name: Check a package (`nightly` feature)
if: matrix.toolchain == 'nightly'
run: cargo check --target ${{ matrix.target }} -F nightly
- name: Check a package (`nightly` feature without `default` feature)
if: matrix.toolchain == 'nightly'
run: cargo check --target ${{ matrix.target }} --no-default-features -F nightly

test:
name: Test
runs-on: ${{ matrix.os }}
Expand All @@ -24,7 +67,7 @@ jobs:
- aarch64-apple-darwin
- x86_64-pc-windows-msvc
toolchain:
- 1.74.0 # MSRV
- 1.74.0
- stable
- nightly
include:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file.
The format is based on https://keepachangelog.com/[Keep a Changelog], and this
project adheres to https://semver.org/[Semantic Versioning].

== {compare-url}/v0.8.4\...HEAD[Unreleased]

=== Changed

* Change MSRV to 1.62.0 ({pull-request-url}/131[#131])

== {compare-url}/v0.8.3\...v0.8.4[0.8.4] - 2024-10-31

=== Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "sysexits"
version = "0.8.4"
authors = ["Shun Sakai <sorairolake@protonmail.ch>"]
edition = "2021"
rust-version = "1.74.0"
rust-version = "1.62.0"
description = "The system exit codes as defined by <sysexits.h>"
documentation = "https://docs.rs/sysexits"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ See the [documentation][docs-url] for more details.

## Minimum supported Rust version

The minimum supported Rust version (MSRV) of this library is v1.74.0.
The minimum supported Rust version (MSRV) of this library is v1.62.0.

## Source code

Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

msrv = "1.74.0"
msrv = "1.62.0"