Check Outdated #308
This file contains hidden or 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 | |
| permissions: | |
| contents: read | |
| on: | |
| schedule: | |
| - cron: "0 9 * * 1" # Every Monday at 9:00 AM UTC | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| outdated: | |
| runs-on: ubuntu-22.04 | |
| 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.88 | |
| - 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 |