Merge branch 'ai_work' into 'main'

Ai work

See merge request opensource/answer!59
This commit is contained in:
linkinstar 2022-10-13 10:10:12 +00:00
commit 971695a048
3 changed files with 49 additions and 12 deletions

View File

@ -23,18 +23,6 @@ jobs:
- 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: go build -v ./...
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
@ -48,6 +36,8 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE }}
tags: |
type=raw,value=latest
- name: Build Img
uses: docker/build-push-action@v3

24
.github/workflows/go_build_test.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Go Build Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
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: Go Test Build
run: make clean build

23
.github/workflows/node_build_test.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Node Build Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-node@v3
with:
node-version: 16
- name: Test Build
run: make install-ui-packages ui