Skip to content

Commit

Permalink
Merge 305e7c8 into 0ede04c
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jun 14, 2023
2 parents 0ede04c + 305e7c8 commit 5042e01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
Formatting:
Expand All @@ -19,10 +19,10 @@ jobs:
toolchain: stable
override: true
components: rustfmt

- name: Check format
run: cargo fmt -- --check

Linting:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,7 +35,7 @@ jobs:
toolchain: stable
override: true
components: clippy

- name: Lint with clippy
uses: actions-rs/clippy-check@v1
with:
Expand Down Expand Up @@ -85,18 +85,20 @@ jobs:
MSRV:
needs: Formatting
runs-on: ubuntu-latest
env:
MSRV_VERSION: 1.56.0
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install MSRV toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.53.0
toolchain: ${{ env.MSRV_VERSION }}
override: true

- name: check if README matches MSRV defined here
run: grep '1.53.0' README.md
run: grep $MSRV_VERSION README.md

- name: pin dependency versions for MSRV
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ For extra credit, feel free to familiarize yourself with:

## Minimum supported Rust version

Currently the minimum supported Rust version is 1.53.0.
Currently the minimum supported Rust version is 1.56.0.

## License

Expand Down

0 comments on commit 5042e01

Please sign in to comment.