-
-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (32 loc) · 965 Bytes
/
cron.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
name: cackle-cron
on:
schedule:
- cron: '36 19 * * *'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: '-D warnings'
jobs:
# Run cackle after updating to the latest semver-compatible versions of packages. This aims to
# detect any new permission usage introduced by our dependencies.
cackle:
if: github.repository == 'cackle-rs/cackle'
name: cackle with latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: cackle-rs/cackle-action@latest
- run: cargo update
- run: cargo acl -n
- run: cargo acl -n test
test-nightly:
if: github.repository == 'cackle-rs/cackle'
name: Test Nightly
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
id: rust-toolchain
- run: sudo apt update && sudo apt install git bubblewrap
- run: cargo test --profile ci