Update the action
Check Go code / Build, test and lint (push) Has been cancelled

This commit is contained in:
2026-05-24 00:12:23 +03:00
parent 9807b624ba
commit 0126d0272a
+38
View File
@@ -0,0 +1,38 @@
name: Check Go code
on:
push:
branches:
- master
permissions:
contents: read
jobs:
check:
name: Build, test and lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.25.x'
cache: false
- name: Download dependencies
run: go mod download
- name: Run build
run: go build ./cmd/anon3anon/
- name: Run tests
run: go test ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: 'v2.4'