diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml new file mode 100644 index 000000000..b2ff0682b --- /dev/null +++ b/.github/workflows/build-docker-image.yml @@ -0,0 +1,15 @@ +name: Docker Image Build CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: make docker-build diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml new file mode 100644 index 000000000..8a18bf28c --- /dev/null +++ b/.github/workflows/go-test.yml @@ -0,0 +1,25 @@ +name: Go Build and Test CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + 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