Skip to content

Commit

Permalink
[v4] Bump up MSRV to 1.31.1 (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 7, 2022
1 parent 49ace95 commit efc33c4
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 63 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
strategy:
matrix:
version:
- 1.26.1 # MSRV
- 1.31.1 # MSRV
- stable
- nightly
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false # macOS sometimes fails to test
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: setup toolchain
# `--no-self-update` is needed due to a permission issue on the GHA env.
Expand All @@ -32,22 +32,22 @@ jobs:
rustup override set ${{ matrix.version }}
- name: MSRV check
if: matrix.version == '1.26.1'
if: matrix.version == '1.31.1'
shell: bash
run: |
mv Cargo.lock.min Cargo.lock
cargo build
- name: check build
if: matrix.version != '1.26.1'
if: matrix.version != '1.31.1'
run: |
cargo test --no-fail-fast
audit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install cargo-audit
run: |
Expand Down
107 changes: 50 additions & 57 deletions Cargo.lock.min

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _Cross-platform filesystem notification library for Rust._

- [API Documentation][docs]
- [Crate page][crate]
- Earliest supported Rust version: **1.26.1**
- Earliest supported Rust version: **1.31.1**

As used by: [alacritty], [cargo watch], [cobalt], [docket], [handlebars-iron],
[mdBook], [pax], [rdiff], [timetrack], [watchexec], [xi-editor], and others.
Expand Down

0 comments on commit efc33c4

Please sign in to comment.