testing gitea actions
This commit is contained in:
parent
9db98508fb
commit
6a600e45ac
22
.gitea/workflows/nix-fmt.yaml
Normal file
22
.gitea/workflows/nix-fmt.yaml
Normal file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user