Skip to content

Commit a487b08

Browse files
committed
add test workflow
1 parent b1c7a13 commit a487b08

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/publish.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ jobs:
77
copy-go:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
11-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
12-
with:
13-
go-version: 1.23.x
14-
- name: Check package is correct
15-
run: make test
1610
- name: Copy generated Go
1711
uses: andstor/copycat-action@c2b0316e9ab883478a4a7d40a4fcb03d17f281aa
1812
with:

.github/workflows/test.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Test
2+
on:
3+
pull_request:
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
9+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
10+
with:
11+
go-version: 1.23.x
12+
- name: Check package is correct
13+
run: make test

0 commit comments

Comments
 (0)