Skip to content

Update Rust crate url to 2.4.1 #948

Update Rust crate url to 2.4.1

Update Rust crate url to 2.4.1 #948

Workflow file for this run

on: [ push ]
name: CI
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2.6.2
- name: cargo fmt --all --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
- name: cargo clippy --release --all-features
uses: actions-rs/cargo@v1
with:
command: clippy
args: --release --all-features
- name: cargo build --release --all-features
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- name: cargo test --release --all-features
uses: actions-rs/cargo@v1
with:
command: test
args: --release --all-features