every.channel: sanitized baseline
This commit is contained in:
commit
897e556bea
258 changed files with 74298 additions and 0 deletions
43
third_party/iroh-org/iroh-gossip/.github/workflows/beta.yaml
vendored
Normal file
43
third_party/iroh-org/iroh-gossip/.github/workflows/beta.yaml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Run tests using the beta Rust compiler
|
||||
|
||||
name: Beta Rust
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# 06:50 UTC every Monday
|
||||
- cron: '50 6 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: beta-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
IROH_FORCE_STAGING_RELAYS: "1"
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
uses: './.github/workflows/tests.yaml'
|
||||
with:
|
||||
rust-version: beta
|
||||
notify:
|
||||
needs: tests
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Extract test results
|
||||
run: |
|
||||
printf '${{ toJSON(needs) }}\n'
|
||||
result=$(echo '${{ toJSON(needs) }}' | jq -r .tests.result)
|
||||
echo TESTS_RESULT=$result
|
||||
echo "TESTS_RESULT=$result" >>"$GITHUB_ENV"
|
||||
- name: Notify discord on failure
|
||||
uses: n0-computer/discord-webhook-notify@v1
|
||||
if: ${{ env.TESTS_RESULT == 'failure' }}
|
||||
with:
|
||||
severity: error
|
||||
details: |
|
||||
Rustc beta tests failed in **${{ github.repository }}**
|
||||
See https://github.com/${{ github.repository }}/actions/workflows/beta.yaml
|
||||
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue