This commit is contained in:
aichy126 2022-10-13 11:55:45 +08:00
parent 817fd5e2af
commit f58550c009
1 changed files with 31 additions and 0 deletions

31
.github/workflows/test.yml vendored Normal file
View File

@ -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