From 24c9a07dd091393111396d954f9ba929573e3ae4 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 25 Dec 2023 19:45:21 -0800 Subject: [PATCH] add names to github test workflow --- .github/workflows/test.yml | 46 ++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6aa9ca..43ac4da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,25 +7,27 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: DeterminateSystems/nix-installer-action@main - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" - - uses: cachix/cachix-action@v12 - with: - name: selfhostblocks - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - name: Run tests - run: | - nix run github:Mic92/nix-fast-build -- \ - --skip-cached --no-nom \ - --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" - - - name: Test building docs - run: | - nix \ - --print-build-logs \ - --option keep-going true \ - --show-trace \ - build .#manualHtml + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + extra-conf: "system-features = nixos-test benchmark big-parallel kvm" + - name: Setup Caching + uses: cachix/cachix-action@v12 + with: + name: selfhostblocks + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - name: Run tests + run: | + nix run github:Mic92/nix-fast-build -- \ + --skip-cached --no-nom \ + --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" + - name: Test building docs + run: | + nix \ + --print-build-logs \ + --option keep-going true \ + --show-trace \ + build .#manualHtml