Create go.yml

This commit is contained in:
2024-10-09 01:19:49 +02:00
committed by GitHub
parent 3cbb0e944e
commit cb0df8a5dd

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.3'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...