Обновить .gitea/workflows/build.yaml
All checks were successful
Go / build (push) Successful in 10m52s

This commit is contained in:
chertkov 2025-06-28 11:00:58 +03:00
parent 01bbd7179e
commit a3898a7822

View File

@ -1,10 +1,21 @@
name: 'Test Go Action' name: Go
on: [push]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs: jobs:
use-go-action: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup Go - uses: actions/checkout@v4
uses: actions/setup-go@v3 - name: Set up Go
uses: actions/setup-go@v5
with: with:
go-version: '1.20' go-version: 'stable'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...