From 6a600e45aced0c03c327070291fc0bd087ef447f Mon Sep 17 00:00:00 2001 From: k Date: Sat, 1 Mar 2025 16:41:35 -0500 Subject: [PATCH] testing gitea actions --- .gitea/workflows/nix-fmt.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/nix-fmt.yaml diff --git a/.gitea/workflows/nix-fmt.yaml b/.gitea/workflows/nix-fmt.yaml new file mode 100644 index 0000000..38ccfdd --- /dev/null +++ b/.gitea/workflows/nix-fmt.yaml @@ -0,0 +1,22 @@ +name: Format Nix Flake + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + format: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Nix + uses: cachix/install-nix-action@v2 + with: + nix_version: '2.18.1' # or desired Nix version + + - name: Format Nix Flake + run: nix fmt