Skip to content

update Github actions versions and drop deprecated ones #46

update Github actions versions and drop deprecated ones

update Github actions versions and drop deprecated ones #46

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
name: Check on v1.41
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.41.1
override: true
- name: Run cargo check
run: cargo check --all-features
test:
name: Test on stable
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy --all-features -- -D warnings
- name: Run cargo test
run: cargo test --all-features