Skip to content

Rename executable to trashy (#104) #182

Rename executable to trashy (#104)

Rename executable to trashy (#104) #182

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
- staging
- trying
paths-ignore:
- "**.md"
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2.2.0
- name: Compile
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run --locked
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --nocapture
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check