Flywheel safety: auto exit flywheel mode after 10s of being idle #117
Workflow file for this run
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: | |
branches: ["*"] | |
tags: ["*"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- uses: rrbutani/use-nix-shell-action@v1 | |
with: | |
flakes: nixpkgs#clang-tools_18, nixpkgs#lefthook | |
- name: Run clang-format | |
id: clang-format | |
run: lefthook run clang-format-check | |
- name: Build Package | |
if: success() || (failure() && steps.clang-format.conclusion == 'failure') | |
uses: ./.github/actions/build |