Check for upstream releases #191
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: 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 |