feat(monitor): ADD new cloud account creation endpoint #1837
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI - Pull Request | |
on: | |
pull_request: | |
branches: | |
- master | |
env: | |
GO_VERSION: "^1.19" # any 1.x version, see go.mod file for minimum | |
jobs: | |
build-multiarch: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- os: darwin | |
arch: amd64 | |
- os: freebsd | |
arch: 386 | |
- os: freebsd | |
arch: amd64 | |
- os: freebsd | |
arch: arm | |
- os: linux | |
arch: 386 | |
- os: linux | |
arch: amd64 | |
- os: linux | |
arch: arm | |
- os: openbsd | |
arch: 386 | |
- os: openbsd | |
arch: amd64 | |
- os: solaris | |
arch: amd64 | |
- os: windows | |
arch: 386 | |
- os: windows | |
arch: amd64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
check-latest: true | |
cache: true | |
- name: Build project | |
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o terraform-provider-sysdig | |
test: | |
name: Test | |
uses: ./.github/workflows/test.yml | |
secrets: inherit |