Skip to content

Update GH actions images to supported versions #1

Update GH actions images to supported versions

Update GH actions images to supported versions #1

Workflow file for this run

on: [push, pull_request]
name: check
jobs:
check-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features -- -D warnings
- run: cargo test --all-features
check-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features -- -D warnings
- run: cargo test --all-features