Skip to content

Commit b82c42c

Browse files
author
Codex CLI
committed
Merge branch 'feature/current-changes'
# Conflicts: # src/MSSQLMCPServer/MSSQLMCPServer.csproj # src/MSSQLMCPServer/Tools/SqlExecutionTool.cs # src/TestHarness/Program.cs
2 parents 440a0b2 + 3d7bcdf commit b82c42c

23 files changed

+832
-825
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
version: 2
2-
updates:
3-
- package-ecosystem: github-actions
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
8-
- package-ecosystem: "dotnet-sdk"
9-
directory: "/"
10-
schedule:
11-
interval: "weekly"
12-
day: "wednesday"
13-
14-
- package-ecosystem: nuget
15-
directory: "/"
16-
schedule:
17-
interval: daily
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
8+
- package-ecosystem: "dotnet-sdk"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
day: "wednesday"
13+
14+
- package-ecosystem: nuget
15+
directory: "/"
16+
schedule:
17+
interval: daily

.github/workflows/build.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
name: build
2-
3-
on:
4-
push:
5-
branches: [ main, master, dev ]
6-
pull_request:
7-
branches: [ main, master, dev ]
8-
9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v5.0.0
16-
with:
17-
lfs: true
18-
fetch-depth: 0
19-
20-
- name: Install .NET SDK
21-
uses: actions/setup-dotnet@v4.3.1
22-
with:
23-
global-json-file: './global.json'
24-
25-
- name: Restore .NET tools
26-
run: dotnet tool restore
27-
28-
- name: dotnet build
29-
run: dotnet build -c Release
30-
31-
- name: dotnet test
32-
run: dotnet test -c Release
33-
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main, master, dev ]
6+
pull_request:
7+
branches: [ main, master, dev ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v5.0.0
16+
with:
17+
lfs: true
18+
fetch-depth: 0
19+
20+
- name: Install .NET SDK
21+
uses: actions/setup-dotnet@v4.3.1
22+
with:
23+
global-json-file: './global.json'
24+
25+
- name: Restore .NET tools
26+
run: dotnet tool restore
27+
28+
- name: dotnet build
29+
run: dotnet build -c Release
30+
31+
- name: dotnet test
32+
run: dotnet test -c Release
33+
Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
1-
name: pr_validation
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
- dev
8-
- main
9-
pull_request:
10-
branches:
11-
- master
12-
- dev
13-
- main
14-
15-
jobs:
16-
test:
17-
name: Test-${{matrix.os}}
18-
runs-on: ${{matrix.os}}
19-
20-
strategy:
21-
matrix:
22-
os: [ubuntu-latest]
23-
24-
steps:
25-
- name: "Checkout"
26-
uses: actions/checkout@v5.0.0
27-
with:
28-
lfs: true
29-
fetch-depth: 0
30-
31-
- name: "Install .NET SDK"
32-
uses: actions/setup-dotnet@v4.3.1
33-
with:
34-
global-json-file: "./global.json"
35-
36-
- name: "Restore .NET tools"
37-
run: dotnet tool restore
38-
39-
- name: "Update release notes"
40-
shell: pwsh
41-
run: |
42-
./build.ps1
43-
44-
- name: "dotnet build"
45-
run: dotnet build -c Release
46-
47-
# .NET Framework tests can't run reliably on Linux, so we only do .NET 8
48-
49-
- name: "dotnet test"
50-
shell: bash
51-
run: dotnet test -c Release
52-
53-
docker-build:
54-
name: Docker Build Validation
55-
runs-on: ubuntu-latest
56-
57-
steps:
58-
- name: "Checkout"
59-
uses: actions/checkout@v5.0.0
60-
with:
61-
lfs: true
62-
fetch-depth: 0
63-
64-
- name: "Install .NET SDK"
65-
uses: actions/setup-dotnet@v4.3.1
66-
with:
67-
global-json-file: "./global.json"
68-
69-
- name: "Build Docker image"
70-
run: |
71-
dotnet publish src/MSSQLMCPServer/MSSQLMCPServer.csproj \
72-
--os linux \
73-
--arch x64 \
74-
-c Release \
75-
/t:PublishContainer
76-
77-
- name: "Verify Docker image exists"
78-
run: docker images | grep mssql-mcp
1+
name: pr_validation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
- main
9+
pull_request:
10+
branches:
11+
- master
12+
- dev
13+
- main
14+
15+
jobs:
16+
test:
17+
name: Test-${{matrix.os}}
18+
runs-on: ${{matrix.os}}
19+
20+
strategy:
21+
matrix:
22+
os: [ubuntu-latest]
23+
24+
steps:
25+
- name: "Checkout"
26+
uses: actions/checkout@v5.0.0
27+
with:
28+
lfs: true
29+
fetch-depth: 0
30+
31+
- name: "Install .NET SDK"
32+
uses: actions/setup-dotnet@v4.3.1
33+
with:
34+
global-json-file: "./global.json"
35+
36+
- name: "Restore .NET tools"
37+
run: dotnet tool restore
38+
39+
- name: "Update release notes"
40+
shell: pwsh
41+
run: |
42+
./build.ps1
43+
44+
- name: "dotnet build"
45+
run: dotnet build -c Release
46+
47+
# .NET Framework tests can't run reliably on Linux, so we only do .NET 8
48+
49+
- name: "dotnet test"
50+
shell: bash
51+
run: dotnet test -c Release
52+
53+
docker-build:
54+
name: Docker Build Validation
55+
runs-on: ubuntu-latest
56+
57+
steps:
58+
- name: "Checkout"
59+
uses: actions/checkout@v5.0.0
60+
with:
61+
lfs: true
62+
fetch-depth: 0
63+
64+
- name: "Install .NET SDK"
65+
uses: actions/setup-dotnet@v4.3.1
66+
with:
67+
global-json-file: "./global.json"
68+
69+
- name: "Build Docker image"
70+
run: |
71+
dotnet publish src/MSSQLMCPServer/MSSQLMCPServer.csproj \
72+
--os linux \
73+
--arch x64 \
74+
-c Release \
75+
/t:PublishContainer
76+
77+
- name: "Verify Docker image exists"
78+
run: docker images | grep mssql-mcp
Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
name: Publish NuGet
2-
3-
on:
4-
push:
5-
tags:
6-
- '*'
7-
8-
jobs:
9-
publish-nuget:
10-
11-
name: publish-nuget
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
matrix:
15-
os: [ubuntu-latest]
16-
17-
steps:
18-
- name: "Checkout"
19-
uses: actions/checkout@v5.0.0
20-
with:
21-
lfs: true
22-
fetch-depth: 0
23-
24-
- name: "Install .NET SDK"
25-
uses: actions/setup-dotnet@v4.3.1
26-
with:
27-
global-json-file: "./global.json"
28-
29-
- name: "Restore .NET tools"
30-
run: dotnet tool restore
31-
32-
- name: "Update release notes"
33-
shell: pwsh
34-
run: |
35-
./build.ps1
36-
37-
- name: release
38-
uses: actions/create-release@v1
39-
id: create_release
40-
with:
41-
draft: false
42-
prerelease: false
43-
release_name: 'mssql-mcp ${{ github.ref_name }}'
44-
tag_name: ${{ github.ref }}
45-
body_path: RELEASE_NOTES.md
46-
env:
47-
GITHUB_TOKEN: ${{ github.token }}
48-
49-
# - name: Upload Release Asset
50-
# uses: AButler/upload-release-assets@v3.0
51-
# with:
52-
# repo-token: ${{ github.token }}
53-
# release-tag: ${{ github.ref_name }}
54-
# files: 'output/*.nupkg'
1+
name: Publish NuGet
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
publish-nuget:
10+
11+
name: publish-nuget
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
17+
steps:
18+
- name: "Checkout"
19+
uses: actions/checkout@v5.0.0
20+
with:
21+
lfs: true
22+
fetch-depth: 0
23+
24+
- name: "Install .NET SDK"
25+
uses: actions/setup-dotnet@v4.3.1
26+
with:
27+
global-json-file: "./global.json"
28+
29+
- name: "Restore .NET tools"
30+
run: dotnet tool restore
31+
32+
- name: "Update release notes"
33+
shell: pwsh
34+
run: |
35+
./build.ps1
36+
37+
- name: release
38+
uses: actions/create-release@v1
39+
id: create_release
40+
with:
41+
draft: false
42+
prerelease: false
43+
release_name: 'mssql-mcp ${{ github.ref_name }}'
44+
tag_name: ${{ github.ref }}
45+
body_path: RELEASE_NOTES.md
46+
env:
47+
GITHUB_TOKEN: ${{ github.token }}
48+
49+
# - name: Upload Release Asset
50+
# uses: AButler/upload-release-assets@v3.0
51+
# with:
52+
# repo-token: ${{ github.token }}
53+
# release-tag: ${{ github.ref_name }}
54+
# files: 'output/*.nupkg'

0 commit comments

Comments
 (0)