Skip to content

fix: update trash dep to 5.2.1, and fix delete function in macos plat… #8

fix: update trash dep to 5.2.1, and fix delete function in macos plat…

fix: update trash dep to 5.2.1, and fix delete function in macos plat… #8

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
strategy:
matrix:
include:
- os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Cache ~/.cargo and target
uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy --all-features --all-targets -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Rustfmt
run: cargo fmt --check