Create go.yml

This commit is contained in:
2024-06-13 11:47:21 +02:00
committed by GitHub
parent 39d4ccda0e
commit 73c86f4c03

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 ./...