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)
This commit is contained in:
Vincent Ambo 2021-04-29 23:52:42 +02:00
parent 8aef070dc6
commit d2d2c36c4c

View File

@ -11,20 +11,15 @@ jobs:
build-and-test: build-and-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Do we have Docker?"
run: |
docker ps -a
- name: Install Nix - name: Install Nix
uses: cachix/install-nix-action@v13 uses: cachix/install-nix-action@v13
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2.3.4
- name: Prepare environment - name: Prepare environment
run: | run: nix-env -f '<nixpkgs>' -iA go
mkdir test-storage
nix-env -f '<nixpkgs>' -iA go
- name: Check formatting - name: Check formatting
run: "test -z $(gofmt -l .)" run: "test -z $(gofmt -l .)"
- name: Build Nixery - name: Build Nixery
run: "nix-build --arg maxLayers 2" run: "nix-build --arg maxLayers 2 --no-out-link"
- name: Run integration test - name: Run integration test
run: scripts/integration-test.sh run: scripts/integration-test.sh