diff --git a/.gitea/workflows/check-flake.yaml b/.gitea/workflows/check-flake.yaml new file mode 100644 index 0000000..af99f51 --- /dev/null +++ b/.gitea/workflows/check-flake.yaml @@ -0,0 +1,24 @@ +name: Check Flake + +on: [push] + +env: + DEBIAN_FRONTEND: noninteractive + +jobs: + check-flake: + runs-on: ubuntu-latest + steps: + - name: Install sudo + run: apt-get update && apt-get install sudo + + - name: Install Nix + uses: https://github.com/cachix/install-nix-action@v20 + + - name: Checkout the repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Check Flake + run: nix flake check --show-trace