Fixed a problem when the clean up code doesn't clean everything prope… #357
This file contains hidden or 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 - Master | |
| on: | |
| push: | |
| branches: | |
| - master | |
| env: | |
| GO_VERSION: "^1.17" | |
| 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 |