Skip to content

Commit

Permalink
Add an action covering build of kubernetes engine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric BAIL committed Sep 8, 2022
1 parent ce3e957 commit 1052277
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@ jobs:

# Run tests
- run: go test -v -cover -race ./...

k8s:
name: "Verify k8s build"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# use max/min supported Go versions
go-version: ["1.18.x"]

steps:
- name: Setup Go environment
id: setup-go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

# Checks-out the repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2

# Run tests
- run: go build -tags k8s

build:
name: "Build Calculator (${{ matrix.target.os }}, ${{ matrix.go-version }})"
Expand Down

0 comments on commit 1052277

Please sign in to comment.