Skip to content

Commit a60d03e

Browse files
authored
Merge pull request #3 from modelcontextprotocol/findleyr-patch-1
all: add test github action
2 parents d45294f + 73c9f41 commit a60d03e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
on:
3+
# Manual trigger
4+
workflow_dispatch:
5+
push:
6+
branches: main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
go: [ '1.23', '1.24' ]
18+
steps:
19+
- name: Set up Go
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version: ${{ matrix.go }}
23+
- name: Check out code
24+
uses: actions/checkout@v4
25+
- name: Test
26+
run: go test -v ./...

0 commit comments

Comments
 (0)