Skip to content

Bump actions/checkout from 4.1.1 to 4.2.1 #977

Bump actions/checkout from 4.1.1 to 4.2.1

Bump actions/checkout from 4.1.1 to 4.2.1 #977

Workflow file for this run

on: [push, pull_request]
name: MSRV
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.1
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo check
run: cargo check --all-features --examples --tests
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.1
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo test
run: cargo test --all-features
fmt:
needs: [check]
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.1
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
components: rustfmt
- name: Run cargo fmt
continue-on-error: ${{ matrix.rust == 'beta' }}
run: cargo fmt --all -- --check
clippy:
needs: [check]
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.1
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings