Skip to content

chore(ci): Do not test nightly rust on every PR #2

chore(ci): Do not test nightly rust on every PR

chore(ci): Do not test nightly rust on every PR #2

Workflow file for this run

# Run tests using the beta Rust compiler
name: Beta Rust
on:
schedule:
# 06:50 UTC every Monday
- cron: '50 6 * * 1'
workflow_dispatch:
# TODO: temporary to test in PR only
pull_request:
concurrency:
group: beta-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: './.github/workflows/tests.yaml'
with:
rust-version: beta
notify:
needs: [build_and_test_nix, build_and_test_windows]

Check failure on line 23 in .github/workflows/beta.yaml

View workflow run for this annotation

GitHub Actions / Beta Rust

Invalid workflow file

The workflow is not valid. .github/workflows/beta.yaml (Line: 23, Col: 13): Job 'notify' depends on unknown job 'build_and_test_nix'. .github/workflows/beta.yaml (Line: 23, Col: 33): Job 'notify' depends on unknown job 'build_and_test_windows'.
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: n0-computer/discord-webhook-notify@v1
if: ${{ failure() }}
with:
severity: error
details: rustc beta tests failed
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}
# TODO: temporarily to test the notification
- uses: n0-computer/discord-webhook-notify@v1
if: ${{ success() }}
with:
severity: info
details: rustc beta tests succeeded
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}