mirror of
https://github.com/NotAShelf/batmon.git
synced 2024-11-22 21:31:08 +00:00
CI: build with go
This commit is contained in:
parent
2b94d2eda1
commit
003e12a3ef
1 changed files with 22 additions and 0 deletions
22
.github/workflows/go.yml
vendored
Normal file
22
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Go Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: go build -v ./.
|
Loading…
Reference in a new issue