Add GitHub action

This commit is contained in:
Sol Fisher Romanoff
2023-09-02 01:12:29 +03:00
parent 9a1c027cc1
commit cf3569a6ac

17
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v ./...