Daily check #266
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: Daily check | |
on: | |
schedule: | |
- cron: '0 23 * * *' # CST 7:00 = UTC prev day 23:00 | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
deps_version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install cargo-outdated | |
uses: actions-rs/[email protected] | |
with: | |
crate: cargo-outdated | |
version: latest | |
use-tool-cache: true | |
- name: Check deps crates version | |
uses: actions-rs/cargo@v1 | |
with: | |
command: outdated | |
args: -R --exit-code 1 --verbose | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Security audit | |
uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |