Skip to content

Commit e756a1a

Browse files
author
Danny Molnar
committed
ci: add go test workflow for CI
1 parent a1102e9 commit e756a1a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci-go-tests.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Go Tests on PR
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
tests:
11+
name: Run Go Tests
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Go
18+
uses: actions/setup-go@v5
19+
with:
20+
go-version: 1.22
21+
22+
- name: Run tests:
23+
run: go test ./...

0 commit comments

Comments
 (0)