-
-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (26 loc) · 982 Bytes
/
upstream.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
name: Check for upstream releases
on:
schedule:
- cron: '00 16 * * *'
workflow_dispatch: {}
jobs:
check:
name: Check for upstream releases
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Rust toolchain
run: rustup toolchain install nightly --no-self-update --profile default
- name: Set up Rust cache
uses: swatinem/rust-cache@v2
with:
cache-on-failure: true
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Check for upstream releases
run: cargo run -p scripts --bin upstream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_USER_NAME: github-actions[bot]
GIT_USER_EMAIL: github-actions[bot]@users.noreply.github.com
RUST_LOG: upstream=debug