ci: build and test application

This commit is contained in:
raf 2024-06-13 08:13:19 +00:00 committed by GitHub
parent a0955a4f6b
commit c8ff2dad43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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

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