Add action to build.

This commit is contained in:
Kavin 2022-12-06 03:01:56 +00:00
parent 8cae5ff321
commit b744f1ba79
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

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

@ -0,0 +1,23 @@
name: Go Build
on:
push:
paths-ignore:
- "**.md"
branches:
- main
pull_request:
paths-ignore:
- "**.md"
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
check-latest: true
cache: true
- name: Build app
run: go build -o app