Merge pull request #3 from modelcontextprotocol/findleyr-patch-1

all: add test github action
This commit is contained in:
Robert Findley 2025-06-23 14:57:02 -04:00 • committed by GitHub
commit a60d03e2e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

26
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Test
on:
# Manual trigger
workflow_dispatch:
push:
branches: main
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.23', '1.24' ]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v4
- name: Test
run: go test -v ./...