Skip to content

Merge pull request #19 from Cosmian/standalone #138

Merge pull request #19 from Cosmian/standalone

Merge pull request #19 from Cosmian/standalone #138

Workflow file for this run

on: [push]
name: Rust compilation, check and test
jobs:
check:
name: Check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Rustup setup
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt && rustup component add clippy
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings