Add GitHub action

This commit is contained in:
Sol Fisher Romanoff
2023-09-02 01:12:29 +03:00
parent 2a96096e94
commit b9ca050322
+17
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 ./...