mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-14 21:51:52 +00:00
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
8aef070dc6
commit
d2d2c36c4c
9
.github/workflows/build-and-test.yaml
vendored
9
.github/workflows/build-and-test.yaml
vendored
|
@ -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 New Issue
Block a user