mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-03 18:20:19 +00:00
Fixing CI (#75)
* Version pinning Ubuntu * Caching Docker images and other Go modules * Removing kustomize
This commit is contained in:
committed by
GitHub
parent
164431959c
commit
ea2d69088d
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user