Merge pull request #3 from modelcontextprotocol/findleyr-patch-1
all: add test github action
This commit is contained in:
commit
a60d03e2e3
1 changed files with 26 additions and 0 deletions
26
.github/workflows/test.yml
vendored
Normal file
26
.github/workflows/test.yml
vendored
Normal 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 ./...
|
||||
Loading…
Reference in a new issue