Skip to content
This repository was archived by the owner on Nov 22, 2025. It is now read-only.

Commit 2e7e103

Browse files
authored
Building and testing
1 parent 2abe871 commit 2e7e103

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/go.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
go-version: [ '1.24', '1.25' ]
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Go ${{ matrix.go-version }}
22+
uses: actions/setup-go@v4
23+
with:
24+
go-version: ${{ matrix.go-version }} # укажите вашу версию Go
25+
26+
- name: Install dependencies
27+
run: go mod tidy
28+
29+
- name: Run tests
30+
run: go test ./tests -v

0 commit comments

Comments
 (0)