Skip to content

version bump trash to 3.0.6 (#101) #177

version bump trash to 3.0.6 (#101)

version bump trash to 3.0.6 (#101) #177

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