Skip to content

turn on CI on all the branches (#111) #68

turn on CI on all the branches (#111)

turn on CI on all the branches (#111) #68

Workflow file for this run

name: Rust
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: actions/checkout@v4
- name: Install cargo version
uses: dtolnay/rust-toolchain@stable
- name: Install epub checker
run: sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install -y epubcheck
- name: Install cargo audit
run: cargo install cargo-audit
- name: Show rust version
run: cargo --version
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Clippy
run: cargo clippy -- --no-deps -Dwarnings
- name: Audit
run: cargo audit
# - name: Rust format
# run: cargo fmt --check