diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..85c15f70 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Build Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + +env: + REGISTRY: ghcr.io + IMAGE: aichy126/answer + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + + # - name: Test + # run: go test -v ./... + + - name: Test Build + run: make clean build