Update workflows

This commit is contained in:
2026-05-23 23:55:26 +03:00
parent 60746f8824
commit 00d33aa41d
3 changed files with 32 additions and 72 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Check Go code
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.25.x'
- name: Download dependencies
run: go mod download
- name: Run build
run: go build ./cmd/anon3anon/
- name: Run tests
run: go test ./...