From 26db3a1b023a729dffd8bb14d9704c329f338089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marijan=20Petri=C4=8Devi=C4=87?= Date: Tue, 6 Feb 2024 09:46:32 +0100 Subject: [PATCH] ci: perform format, audit, lint, and coverage on linux only --- .github/workflows/check.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 981004ab..218243b9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,8 +21,21 @@ jobs: uname -a nix --version - - name: check - run: nix flake check -L --show-trace + - name: format + if: matrix.os == 'ubuntu-latest' + run: nix build -L --no-link --show-trace .#checks.x86_64-linux.treefmt + + - name: audit + if: matrix.os == 'ubuntu-latest' + run: nix build -L --no-link --show-trace .#checks.x86_64-linux.audit + + - name: lint + if: matrix.os == 'ubuntu-latest' + run: nix build -L --no-link --show-trace .#checks.x86_64-linux.lint + + - name: coverage + if: matrix.os == 'ubuntu-latest' + run: nix build -L --no-link --show-trace .#checks.x86_64-linux.coverage-report - name: kairos x86_64-linux if: matrix.os == 'ubuntu-latest'