Check Outdated #213
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 Outdated | |
on: | |
schedule: | |
- cron: "0 7 * * *" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
outdated: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Rust | |
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79 | |
- name: Set up Just | |
uses: extractions/setup-just@v2 | |
- name: Check outdated | |
run: just outdated > outdated.txt | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.2' | |
- name: Notify Slack | |
run: ruby utils/slack-notifiers/outdated.rb | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.STRATUS_SLACK_WEBHOOK_URL }} | |
OUTDATED_TABLE_FILE_NAME: outdated.txt |