Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Build and Test

on:
push:
branches: [main]
branches: [ main ]
paths-ignore:
- "**/*.md"
- "doc/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/pull_request_template.md"
pull_request:
branches: [main]
branches: [ main ]
paths-ignore:
- "**/*.md"
- "doc/**"
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
DOTNET_NOLOGO: "1"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -80,10 +80,10 @@ jobs:
DOTNET_NOLOGO: "1"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"

Expand Down Expand Up @@ -113,10 +113,10 @@ jobs:
DOTNET_NOLOGO: "1"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"

Expand All @@ -143,10 +143,10 @@ jobs:
DOTNET_NOLOGO: "1"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"

Expand Down Expand Up @@ -180,11 +180,11 @@ jobs:
DOTNET_NOLOGO: "1"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6

- name: Setup .NET
id: setup_dotnet
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"

Expand Down Expand Up @@ -237,15 +237,15 @@ jobs:
id: upload_codecov
# Upload from any full_validation run (push or workflow_dispatch) targeting the main branch.
if: ${{ github.ref == 'refs/heads/main' }}
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # pin@v7
with:
files: coverage.cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false

- name: Upload coverage artifact
id: upload_coverage_artifact
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@v7
with:
name: coverage-cobertura
path: coverage.cobertura.xml
Expand All @@ -268,7 +268,7 @@ jobs:

- name: Upload performance results artifact
id: upload_performance_artifact
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@v7
with:
name: performance-results
path: performance-results.txt
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ name: "CodeQL Advanced"

on:
push:
branches: ["main"]
branches: [ "main" ]
pull_request:
branches: ["main"]
branches: [ "main" ]
schedule:
- cron: "45 18 * * 0"

Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6
with:
# Shallow clone for faster checkout on PRs
fetch-depth: ${{ github.event_name == 'pull_request' && 1 || 0 }}
Expand All @@ -82,7 +82,7 @@ jobs:
# Setup .NET SDK for C# analysis
- name: Setup .NET
if: matrix.language == 'csharp'
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"
cache: true
Expand All @@ -93,7 +93,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # pin@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -107,12 +107,12 @@ jobs:
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
Expand All @@ -125,6 +125,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # pin@v4
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-mcp-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6
with:
fetch-depth: 0

Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
push:
tags:
- "v*" # Only runs on version tags like v1.0.0, v0.1.0-alpha.1
workflow_dispatch: # Allows manual triggering from GitHub Actions UI
workflow_dispatch:
# Allows manual triggering from GitHub Actions UI

jobs:
publish:
Expand All @@ -20,7 +21,7 @@ jobs:
id-token: write # Required for OIDC token issuance (Trusted Publishing)

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6
id: checkout
with:
fetch-depth: 0 # Required for MinVer to access Git history and tags
Expand All @@ -42,7 +43,7 @@ jobs:

- name: Setup .NET
id: setup_dotnet
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # pin@v5
with:
dotnet-version: "10.0.x"
cache: true
Expand Down Expand Up @@ -146,7 +147,7 @@ jobs:

- name: NuGet login (OIDC ? temp API key)
id: nuget_login
uses: NuGet/login@v1
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # pin@v1
with:
user: ${{ secrets.NUGET_USER }}

Expand Down Expand Up @@ -230,7 +231,7 @@ jobs:

- name: Upload package artifact (for registry publish)
id: upload_nupkg_artifact
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # pin@v7
with:
name: dotnet-mcp-nupkg
path: ./artifacts/*.nupkg
Expand Down Expand Up @@ -278,13 +279,13 @@ jobs:
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # pin@v6
with:
fetch-depth: 0

- name: Download package artifact
id: download_nupkg
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # pin@v8
with:
name: dotnet-mcp-nupkg
path: ./artifacts
Expand Down
Loading