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:
parent
7e8295189b
commit
8a1add9ef8
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue