Skip to content

Commit 86eb2a6

Browse files
committed
gh action refactor
1 parent aaaed58 commit 86eb2a6

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: tests
2+
3+
on:
4+
push: &triggers
5+
paths:
6+
- "**.go"
7+
- "go.mod"
8+
- "go.sum"
9+
- ".github/workflows/tests.yml"
10+
branches:
11+
- main
12+
pull_request: *triggers
13+
14+
jobs:
15+
test:
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, windows-latest]
19+
fail-fast: false
20+
21+
runs-on: ${{ matrix.os }}
22+
23+
steps:
24+
- name: Checkout
25+
uses: checkout@v4
26+
27+
- name: Set up Go
28+
uses: actions/setup-go@v6
29+
with:
30+
go-version-file: 'go.mod'
31+
32+
- name: Run tests
33+
run: make test

0 commit comments

Comments
 (0)