Skip to content

Build against timely master #5

Build against timely master

Build against timely master #5

name: "Test build against Timely master"
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
- cron: '38 3 * * *'
jobs:
tests:
strategy:
matrix:
os:
- ubuntu
toolchain:
- stable
name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: Cargo test against Timely master
run: cd timely_master && cargo test
notify:
name: Notify failed build
if: failure() && github.event.pull_request == null
needs: [tests]
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKFLOW_NAME: ${{ github.workflow }}
REPO_SLUG: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
MENTION: '@frankmcsherry, @antiguru'
with:
filename: '.github/create-issue-on-failure.md'
update_existing: true
search_existing: open