ci: github -> forgejo
This commit is contained in:
parent
783a628830
commit
0ffa2b57fd
2 changed files with 21 additions and 23 deletions
21
.forgejo/workflows/check.yml
Normal file
21
.forgejo/workflows/check.yml
Normal 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
|
23
.github/workflows/check.yml
vendored
23
.github/workflows/check.yml
vendored
|
@ -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
|
|
Loading…
Reference in a new issue