Skip to content

build: update notify requirement from 6.0.0 to 7.0.0 #84

build: update notify requirement from 6.0.0 to 7.0.0

build: update notify requirement from 6.0.0 to 7.0.0 #84

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Set git to use LF on Windows
run: |
git config --global core.autocrlf false
git config --global core.eol lf
if: runner.os == 'windows'
- uses: actions/checkout@v3
- name: Fetch cargo registry cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
Cargo.lock
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build
- name: rustfmt & clippy
run: |
rustup component add clippy rustfmt
cargo clippy --workspace
cargo fmt --all -- --check
- name: Run tests
run: cargo test -- --show-output
env:
RUST_LOG: trace