sync_file 0.2.9

Files that can be read concurrently
Documentation
on: [push, pull_request]

name: CI

jobs:
  test:
    name: Tests
    runs-on: ${{ matrix.target }}
    strategy:
      matrix:
        rust:
          - stable
          - 1.63
        target:
          - ubuntu-latest
          - windows-latest

    steps:
      - uses: actions/checkout@v4

      - run: rustup toolchain add ${{ matrix.rust }}

      - run: cargo +${{ matrix.rust }} test

  check:
    name: Check wasi
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust:
          - 1.63
          - stable

    steps:
      - uses: actions/checkout@v4

      - run: rustup toolchain add ${{ matrix.rust }} && rustup +${{ matrix.rust }} target add wasm32-wasi

      - run: cargo +${{ matrix.rust }} check --target wasm32-wasi