Skip to content

Add status badge to README.md #352

Add status badge to README.md

Add status badge to README.md #352

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust_version: [stable]
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: rustup default ${{ matrix.rust_version }}
- uses: Swatinem/rust-cache@v2
- name: Build
run: |
sudo apt-get install libssl-dev
cargo build --verbose --locked
- name: Run tests
run: cargo test --verbose --locked
- name: Rustfmt and Clippy
run: |
cargo fmt -- --check
cargo clippy
if: matrix.rust_version == 'stable'