fixed operator policy #65
Workflow file for this run
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: Test | |
on: | |
- pull_request | |
- push | |
jobs: | |
# | |
# unit testing | |
# | |
unit-test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- go-version: "1.20" | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Run Test | |
uses: ./.github/common-actions/unit-test | |
# | |
# build docker image | |
# | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: unit-test | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- go-version: "1.20" | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build Image | |
run: make docker-build | |
- name: Build Bundle | |
run: make bundle-build |