-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: merge test-vm and format workflows * ci: don't use matrix for doc gen * ci: use inputs from dev flake
- Loading branch information
Showing
6 changed files
with
81 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- '**.lock' | ||
- '**.nix' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
name: Check formatting | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v24 | ||
|
||
- name: Run formatter | ||
run: | | ||
nix run --inputs-from ./dev nixpkgs#nixpkgs-fmt -- . | ||
- name: Check for changes | ||
run: git diff --color=always --exit-code | ||
|
||
vm: | ||
name: Test Modules | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v24 | ||
|
||
- name: Setup cache | ||
uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- name: Run VM | ||
run: | | ||
nix build -L --show-trace ./dev#checks.x86_64-linux.module-vm-test |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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