Create test.yml

This commit is contained in:
civisrom 2025-03-08 18:15:07 +03:00 committed by GitHub
parent 38dafea91d
commit e8b1d3bf0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

18
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Run Tests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test ./...