From b69542d9a6101e7b219e672c1bacb9949980d158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Sat, 7 Sep 2024 12:04:15 +0200 Subject: [PATCH] ci: add nix build step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christina Sørensen --- .forgejo/workflows/conventional-commits.yml | 2 +- .forgejo/workflows/{audit.yml => nix-build.yml} | 6 +++--- .forgejo/workflows/nix-flake-check.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename .forgejo/workflows/{audit.yml => nix-build.yml} (68%) diff --git a/.forgejo/workflows/conventional-commits.yml b/.forgejo/workflows/conventional-commits.yml index 874d590..c67a459 100644 --- a/.forgejo/workflows/conventional-commits.yml +++ b/.forgejo/workflows/conventional-commits.yml @@ -13,7 +13,7 @@ concurrency: cancel-in-progress: true jobs: build: - name: Conventional Commits + name: conventional commits runs-on: native steps: - uses: actions/checkout@v4 diff --git a/.forgejo/workflows/audit.yml b/.forgejo/workflows/nix-build.yml similarity index 68% rename from .forgejo/workflows/audit.yml rename to .forgejo/workflows/nix-build.yml index dfe0929..df13cc7 100644 --- a/.forgejo/workflows/audit.yml +++ b/.forgejo/workflows/nix-build.yml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: EUPL-1.2 -name: Security audit +name: build flake on: schedule: - cron: '0 0 * * *' @@ -15,5 +15,5 @@ jobs: runs-on: native steps: - uses: actions/checkout@v4 - - name: Scan for vulnerabilities - run: nix develop --accept-flake-config --command cargo deny check + - name: build flake + run: nix build diff --git a/.forgejo/workflows/nix-flake-check.yml b/.forgejo/workflows/nix-flake-check.yml index 46f3b96..3b75781 100644 --- a/.forgejo/workflows/nix-flake-check.yml +++ b/.forgejo/workflows/nix-flake-check.yml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: EUPL-1.2 -name: Check Flake +name: check flake on: schedule: - cron: '0 0 * * *' @@ -15,5 +15,5 @@ jobs: runs-on: native steps: - uses: actions/checkout@v4 - - name: Run flake checks + - name: flake checks run: nix flake check