Implement section reporting scheduler state #1215
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: CI | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: Rust formatting | |
step: cargo-fmt-check | |
- name: Rust linting | |
step: cargo-clippy | |
- name: Rust tests | |
step: cargo-test | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup environment | |
run: ./setup | |
- name: ${{ matrix.name }} | |
env: | |
STEP: ${{ matrix.step }} | |
run: ./ci "${STEP}" | |
check_success: | |
if: always() | |
needs: | |
- linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Decide whether the needed jobs succeeded or failed | |
uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |