Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Unit Tests
run: make unit-test

Expand Down Expand Up @@ -52,6 +61,16 @@ jobs:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Linux Binaries
run: make build-binaries

Expand All @@ -65,6 +84,15 @@ jobs:
with:
go-version: ${{ env.DEFAULT_GO_VERSION }}

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Check out code into the Go module directory
uses: actions/checkout@v2

Expand All @@ -84,6 +112,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Windows Binaries
run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows

Expand All @@ -100,6 +137,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: Build Windows Docker Images
run: choco install make && RefreshEnv.cmd && make build-docker-images-windows

Expand All @@ -119,6 +165,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Restore go mod cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: gocache

- name: E2E Tests
run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }}

Expand Down