Skip to content

GROW-662: Capture K8 related sub-counts for AWS #37

GROW-662: Capture K8 related sub-counts for AWS

GROW-662: Capture K8 related sub-counts for AWS #37

Workflow file for this run

name: Build, Lint and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest, macos-latest]
name: Build
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v .
- name: Lint
run: go vet
- name: Test
run: go test -v .