This commit is contained in:
Slayder12
2025-12-02 14:32:08 +03:00
commit 8e36cee8af
5 changed files with 87 additions and 0 deletions

25
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Go
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: [1.25.x]
- name: Install dependencies
run: go mod tidy
- name: Build
run: go build .
- name: Test
run: go test -v ./...