about summary refs log tree commit diff
path: root/tools/nixery
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-29T21·52+0200
committerVincent Ambo <mail@tazj.in>2021-04-30T09·02+0200
commit8a1add9ef8f6899b8f110bd789d2422dbe688642 (patch)
tree370fb7364fc36a17f2afab6e70b4f5993ef2f84c /tools/nixery
parent7e8295189bbcd4a30ea684c65c0a3c343d4842a9 (diff)
chore(ci): Remove unnecessary commands from new CI setup
* remove a step that was not supposed to be committed ("Do we have
  Docker?")
* remove setup of old temporary storage directory (now done in
  integration script test instead)
* skip creation of out-link for initial Nixery build (to avoid
  cache-busting on the second build)
Diffstat (limited to 'tools/nixery')
-rw-r--r--tools/nixery/.github/workflows/build-and-test.yaml9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/nixery/.github/workflows/build-and-test.yaml b/tools/nixery/.github/workflows/build-and-test.yaml
index 3ae4e639e3..86a2c43637 100644
--- a/tools/nixery/.github/workflows/build-and-test.yaml
+++ b/tools/nixery/.github/workflows/build-and-test.yaml
@@ -11,20 +11,15 @@ jobs:
   build-and-test:
     runs-on: ubuntu-latest
     steps:
-      - name: "Do we have Docker?"
-        run: |
-          docker ps -a
       - name: Install Nix
         uses: cachix/install-nix-action@v13
       - name: Checkout
         uses: actions/checkout@v2.3.4
       - name: Prepare environment
-        run: |
-          mkdir test-storage
-          nix-env -f '<nixpkgs>' -iA go
+        run: nix-env -f '<nixpkgs>' -iA go
       - name: Check formatting
         run: "test -z $(gofmt -l .)"
       - name: Build Nixery
-        run: "nix-build --arg maxLayers 2"
+        run: "nix-build --arg maxLayers 2 --no-out-link"
       - name: Run integration test
         run: scripts/integration-test.sh