diff --git a/.github/workflows/build_test_ci.yml b/.github/workflows/build_test_ci.yml new file mode 100644 index 000000000..feca26f68 --- /dev/null +++ b/.github/workflows/build_test_ci.yml @@ -0,0 +1,32 @@ +name: Build and Test CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + go-build-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 'stable' + + - name: Build + run: make build + + - name: Test + run: make test + + docker-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: make docker-build diff --git a/.gitignore b/.gitignore index 69ea1be2d..1bdd2af6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store .idea -bin/manager +bin/* diff --git a/bin/controller-gen b/bin/controller-gen deleted file mode 100755 index cc38603a3..000000000 Binary files a/bin/controller-gen and /dev/null differ