-
-
Notifications
You must be signed in to change notification settings - Fork 52
49 lines (37 loc) · 1.08 KB
/
weekly.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
41
42
43
44
45
46
47
48
49
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
steps:
- name: Install libcurl-dev
run: |
sudo apt update
sudo apt-get install -y libcurl4-openssl-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- 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
steps:
- uses: actions/checkout@v4
# FIXME: find a maintained alternative to audit-check
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}