mirror of
https://github.com/TeamPiped/instances-api.git
synced 2024-12-13 13:50:38 +05:30
Add action to build.
This commit is contained in:
parent
8cae5ff321
commit
b744f1ba79
23
.github/workflows/build.yml
vendored
Normal file
23
.github/workflows/build.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user