Clean up CI config
This commit is contained in:
parent
580be7ee06
commit
8559816dc6
|
@ -6,11 +6,20 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * *'
|
- cron: '0 2 * * 0'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: -D warnings
|
CARGO_INCREMENTAL: 0
|
||||||
|
CARGO_NET_RETRY: 10
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
RUSTFLAGS: -D warnings
|
||||||
|
RUSTDOCFLAGS: -D warnings
|
||||||
|
RUSTUP_MAX_RETRIES: 10
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -32,9 +41,11 @@ jobs:
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
# When updating this, the reminder to update the minimum supported
|
# When updating this, the reminder to update the minimum supported
|
||||||
# Rust version in Cargo.toml.
|
# Rust version in Cargo.toml.
|
||||||
rust: ['1.46']
|
rust: ['1.46']
|
||||||
|
@ -64,6 +75,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/audit-check@v1
|
# https://github.com/rustsec/audit-check/issues/2
|
||||||
|
- uses: rustsec/audit-check@master
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue