Skip to content

Chore(deps): Bump hono from 4.11.7 to 4.12.0 in /examples/nodejs-langchain #391

Chore(deps): Bump hono from 4.11.7 to 4.12.0 in /examples/nodejs-langchain

Chore(deps): Bump hono from 4.11.7 to 4.12.0 in /examples/nodejs-langchain #391

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
env:
GO_VERSION: "1.26.x"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Compile
run: |
go build ./cmd/mcp-http
go build ./cmd/mcp-http-cli
go build ./cmd/mcp-stdio
lint:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Download modules
run: go mod download
- name: Lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.9
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Download modules
run: go mod download
- name: Test
run: go test -v ./...