name: CI on: schedule: - cron: '0 2 * * *' # run at 2 AM UTC push: branches: [ master ] pull_request: branches: [ master ] jobs: build: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Build uses: actions/checkout@v2 run: cargo build --verbose - name: Run tests uses: actions/checkout@v2 run: cargo test --workspace -- --test-threads=1 - name: Run clippy uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} args: --all-features