Create go.yml

This commit is contained in:
skidoodle 2024-06-13 11:47:21 +02:00 committed by GitHub
parent 39d4ccda0e
commit 73c86f4c03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/go.yml vendored Normal file
View file

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