[go: up one dir, main page]

fs-err 2.5.0

A drop-in replacement for std::fs with more helpful error messages.
Documentation
name: CI

on:
  push:
    branches:
    - master

  pull_request:
    branches:
    - master

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, windows-latest]
        rust_version: [stable, "1.39.0"]

    runs-on: ${{ matrix.os }}

    steps:
    - uses: actions/checkout@v2

    - name: Setup Rust toolchain
      run: rustup default ${{ matrix.rust_version }}

    - name: Build
      run: cargo build --all --verbose

    - name: Run tests
      run: cargo test --all --verbose

    - name: Rustfmt and Clippy
      run: |

        cargo fmt -- --check
        cargo clippy
      if: matrix.rust_version == 'stable'