Skip to content

support rm with capital R (#133) #325

support rm with capital R (#133)

support rm with capital R (#133) #325

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
# coverage:
# name: Coverage
# strategy:
# matrix:
# os: [ubuntu-latest]
# rust: [stable]
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout sources
# uses: actions/checkout@v2
# - name: Install stable toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{ matrix.rust }}
# override: true
# components: llvm-tools-preview
# - uses: Swatinem/rust-cache@v1
# - name: Download grcov
# run: |
# mkdir -p "${HOME}/.local/bin"
# curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.10/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
# echo "$HOME/.local/bin" >> $GITHUB_PATH
# - name: Run xtask coverage
# uses: actions-rs/cargo@v1
# with:
# command: xtask
# args: coverage
# - name: Upload to codecov.io
# uses: codecov/codecov-action@v3
# with:
# files: coverage/*.lcov
test:
name: Test Suite
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
rust: [stable]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- name: Run test
uses: actions-rs/cargo@v1
with:
command: xtask
args: test
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: xtask
args: clippy
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Run fmt
uses: actions-rs/cargo@v1
with:
command: xtask
args: fmt
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: Swatinem/rust-cache@v1
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features --no-deps --document-private-items