diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f1ee7f..d6461de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,20 @@ on: branches: - master schedule: - - cron: '0 2 * * *' + - cron: '0 2 * * 0' env: - RUSTFLAGS: -D warnings + CARGO_INCREMENTAL: 0 + CARGO_NET_RETRY: 10 + CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 + RUSTFLAGS: -D warnings + RUSTDOCFLAGS: -D warnings + RUSTUP_MAX_RETRIES: 10 + +defaults: + run: + shell: bash jobs: test: @@ -32,9 +41,11 @@ jobs: - run: cargo test msrv: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: + os: [ubuntu-latest, windows-latest] # When updating this, the reminder to update the minimum supported # Rust version in Cargo.toml. rust: ['1.46'] @@ -64,6 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/audit-check@v1 + # https://github.com/rustsec/audit-check/issues/2 + - uses: rustsec/audit-check@master with: token: ${{ secrets.GITHUB_TOKEN }}