Skip to content

Cron

Cron #59

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.64.0
- stable
steps:
- name: Checkout sources
uses: actions/checkout@v3.5.3
- 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/checkout@v3.5.3
- 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