ci: github -> forgejo

This commit is contained in:
winston 2024-09-17 16:58:45 +02:00
parent 783a628830
commit 5a7fb36767
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 21 additions and 23 deletions

View file

@ -0,0 +1,21 @@
on:
push:
paths:
- "**.nix"
- "**.lock"
workflow_dispatch:
env:
NIX_CONFIG: "accept-flake-config = true"
jobs:
check:
runs-on: "ubuntu-latest"
steps:
- uses: "https://github.com/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
- uses: "https://github.com/DeterminateSystems/flake-checker-action@ae43dea95bc73541287cfd10e2dee994d1877291" # v8
- uses: "https://github.com/DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd" # v13
- uses: "https://github.com/DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738" # v7
- run: nix flake check --show-trace

View file

@ -1,23 +0,0 @@
name: check
on:
push:
paths:
- "**.nix"
- "**.lock"
env:
NIX_CONFIG: "accept-flake-config = true"
jobs:
check:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
- uses: "DeterminateSystems/flake-checker-action@ae43dea95bc73541287cfd10e2dee994d1877291" # v8
- uses: "DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd" # v13
- uses: "DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738" # v7
- run: nix flake check --show-trace