mirror of https://gitee.com/answerdev/answer.git
fix
This commit is contained in:
parent
817fd5e2af
commit
f58550c009
|
@ -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
|
Loading…
Reference in New Issue