diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index ead4aea..fff99c9 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -15,6 +15,9 @@ jobs: uses: https://github.com/cachix/install-nix-action@v23 with: github_access_token: ${{ secrets.__GITHUB_TOKEN }} + extra_nix_config: | + trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= s0.koi-bebop.ts.net:OjbzD86YjyJZpCp9RWaQKANaflcpKhtzBMNP8I2aPUU= + substituters = https://cache.nixos.org/ http://s0.koi-bebop.ts.net:5000 - name: Install dependencies run: nix profile install nixpkgs#nodejs-18_x @@ -29,15 +32,9 @@ jobs: run: | ls ${{ gitea.workspace }} - # - name: Print nixpkgs version - # run: nix-instantiate --eval -E '(import {}).lib.version' - - # - run: nix-shell -p cowsay --run "cowsay test" - - run: nix run nixpkgs#cowsay -- hello - - name: Install dependencies - run: nix profile install nixpkgs#cowsay + - run: nix profile install nixpkgs#cowsay - run: cowsay testing - run: nix profile install nixpkgs#curl