diff --git a/.gitea/workflows/nix.yml b/.gitea/workflows/nix.yml index 6cfc962..f448f20 100644 --- a/.gitea/workflows/nix.yml +++ b/.gitea/workflows/nix.yml @@ -6,31 +6,19 @@ on: - master jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v26 - with: - nix_path: nixpkgs=channel:nixos-unstable - extra_nix_config: | - experimental-features = nix-command flakes - - run: nix flake check - build: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: cachix/install-nix-action@v26 with: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | experimental-features = nix-command flakes + - run: nix flake check --accept-flake-config - uses: cachix/cachix-action@v14 with: name: bonfire authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: nix build -L + - run: nix build -L --accept-flake-config