CI: build with go

This commit is contained in:
raf 2024-01-11 19:52:35 +00:00
parent 2b94d2eda1
commit 003e12a3ef
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

22
.github/workflows/go.yml vendored Normal file
View 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 ./.