Skip to content

feat(accept-risk) accept posture risk #1816

feat(accept-risk) accept posture risk

feat(accept-risk) accept posture risk #1816

Workflow file for this run

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