mirror of
https://github.com/TeamPiped/instances-api.git
synced 2024-12-06 19:16:17 +01:00
Add action to build.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user