ci: add ci

This commit is contained in:
Vincent Young
2023-11-19 19:26:07 -05:00
parent cd4848e739
commit ddd4de353d
5 changed files with 29 additions and 6 deletions
+24
View File
@@ -0,0 +1,24 @@
on:
push:
pull_request:
name: CI
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Build
run: go build ./...
- name: Test
run: go test ./...
-1
View File
@@ -8,7 +8,6 @@ on:
- 'v*'
env:
# github.repository as <account>/<repo>
DOCKER_IMAGE_NAME: missuo/deeplx
GHCR_IMAGE_NAME: ${{ github.repository }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
@@ -4,7 +4,7 @@ on:
- 'v*'
pull_request:
name: Build Release
name: Release
jobs:
Build: