This commit is contained in:
lehel 2025-09-27 11:22:48 +02:00
parent 3876ba502e
commit 921d51b97c
No known key found for this signature in database
GPG Key ID: 9C4F9D6111EE5CFA
1 changed files with 23 additions and 0 deletions

23
.github/workflows/go-test.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Go Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test -v ./...