From ea2d69088d5f24036489ab2ba11cfe4e3518801a Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Tue, 1 Sep 2020 19:12:32 +0200 Subject: [PATCH] Fixing CI (#75) * Version pinning Ubuntu * Caching Docker images and other Go modules * Removing kustomize --- .github/workflows/main.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e813fde3..69d30a1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,22 +28,25 @@ jobs: args: --timeout 2m kind: name: e2e - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@master - # Cache Go modules - - name: Cache Go Modules + - name: Cache Go modules and Docker images uses: actions/cache@v1 env: - cache-name: cache-go-modules + cache-name: gomod-docker with: - path: ~/go/pkg/mod + path: | + ~/go/pkg/mod + /var/lib/docker + /home/runner/work/capsule/capsule key: ${{ runner.os }}-build-${{ env.cache-name }} restore-keys: | ${{ runner.os }}-build- ${{ runner.os }}- - # Installing Ginkgo - - name: installing Ginkgo + - name: Removing kustomize + run: sudo snap remove kustomize + - name: Installing Ginkgo run: go get github.com/onsi/ginkgo/ginkgo - uses: actions/setup-go@v2 with: