Skip to content

Commit

Permalink
Add GitHub workflows; add bin/* to .gitignore (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
zliang-akamai authored Oct 3, 2023
1 parent ecac5c1 commit a557415
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/build_test_ci.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.DS_Store
.idea
bin/manager
bin/*
Binary file removed bin/controller-gen
Binary file not shown.

0 comments on commit a557415

Please sign in to comment.