-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (34 loc) · 921 Bytes
/
daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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/install@v0.1
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 }}