Weekly CI #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Weekly CI | |
on: | |
schedule: | |
- cron: "0 0 * * 1" # every monday at 00:00 | |
workflow_dispatch: | |
env: | |
RUSTFLAGS: -Dwarnings | |
jobs: | |
weekly-ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [nightly, beta] | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'getsentry' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install rust stable toolchain | |
run: | | |
rustup toolchain install ${{ matrix.rust }} --profile minimal --component clippy --no-self-update | |
rustup default ${{ matrix.rust }} | |
- run: cargo clippy --all-features --workspace --tests --examples -- -D clippy::all | |
- run: cargo test --workspace --all-features | |
weekly-audit: | |
name: Audit | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'getsentry' | |
steps: | |
- uses: actions/checkout@v3 | |
# FIXME: find a maintained alternative to audit-check | |
- uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |