Skip to content

Commit 3fbebee

Browse files
committed
ci: add test workflow on push and pull request
1 parent fae2d6a commit 3fbebee

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: actions/setup-go@v5
14+
with:
15+
go-version: '1.23'
16+
17+
- name: Vet
18+
run: go vet ./...
19+
20+
- name: Test
21+
run: go test -race ./...

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- fix: Il comando `get --json` scriveva anche il file su disco invece di restituire solo il JSON.
66
- new: Test suite completa (28 test) con refactoring per testabilità delle funzioni critiche.
77
- new: Sezione Contributing nel README con istruzioni per build, test e cross-compile.
8+
- new: CI con GitHub Actions per eseguire vet e test suite ad ogni push e pull request.
89

910
## [1.0.0-beta.1] - 2025-07-08
1011

0 commit comments

Comments
 (0)