Skip to content

Cron

Cron #4

Workflow file for this run

name: Cron
on:
schedule:
# every friday at 10:00 am
- cron: '0 10 * * 5'
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.70.0
- stable
steps:
- name: Checkout sources
uses: actions/[email protected]
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Run cargo check
run: cargo check --all --all-features --examples
clippy:
needs: [check]
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: Checkout sources
uses: actions/[email protected]
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- name: Run cargo check
run: cargo clippy --all --all-features -- -D warnings