Commit graph csharp-sdk/.github/workflows
Author SHA1 Message Date
Stephen Halter
da30f0e604
Update remaining .NET versions in release.yml 2025-10-08 11:23:47 -07:00
Stephen Halter
857915ca52
Update .NET version in release.yml (#841)
Updated .NET version in release workflow to 10.0.x and removed older versions.
2025-10-08 09:39:12 -07:00
Eirik Tsarpalis
7628b3064f
Onboard repo to the .NET 10 sdk (#822)
* Onboard repo to the .NET 10 sdk

* Remove redundant property.

* Remove console logger

* Disabling failing tests in .NET 10.
2025-09-30 20:36:12 +03:00
Mike Kistler
acf6eb2e6b
Include docs samples in solution build (#751)
* Include docs samples in solution build
* Update workflow to build for doc updates
* Fix build error
2025-09-03 07:37:01 -05:00
Eirik Tsarpalis
f2dc714cd5
Update packages and Infra (#732)
* Update packages and Infra

* Update Directory.Packages.props

* Update Directory.Packages.props

* Install mono on macos gh-actions machines

* Skip failing test

* Attempt to fix failing macos test.
2025-08-26 17:28:35 +03:00
Mike Kistler
15f8e89ac3
Add framework for conceptual docs (#708)
Add framework for conceptual docs plus article on elicitation

Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-08-18 22:06:52 -07:00
Jeff Handley
b460a0f091
Make small corrections to release process docs (#402)
The 'auto' selection for the previous tag has been working well. And this also fixes a typo.
2025-05-10 09:03:28 -07:00
Jeff Handley
f1cc2d81de
Workflow refactoring and improvements (#273)
* Remove code coverage PR commenting

* Only run markdown-link-check when markdown files are updated

* Declare CI workflow permissions

* Refactor release workflow and declare permissions

* Pin all actions to SHAs

* Run CI manually, on all pushes to main, or if code changes in a PR

* NuGet publishing doesn't need any permissions
2025-04-11 12:18:17 -07:00
Jeff Handley
b9c0f269d6
Update markdown-link-check to ignore external links causing 403 in CI (#246)
* Update markdown-link-check to ignore external links causing 403 in CI

* Apply wildcards on ignored links

* Bump version of mlc to latest to gain --ignore-links arg

* Do not warn on redirects from markdown-link-check action

* Do not warn on redirects from markdown-link-check action

* Update comment
2025-04-09 08:14:09 +01:00
Jeff Handley
259f11af8a
Set up package publishing for daily, manual, and release builds (#118)
* Set up a root artifacts folder for all build/test/pack output

Update CI TestResults folder

* Update package Authors and Copyright

* Lower-case extension on README.md

* Move package props to src folder. Use Version prefix and suffix props.

* Set up package publishing for daily, manual, and release builds

* Only run publishing jobs to the modelcontextprotocol/csharp-sdk repo

* Fix condition on docs workflow

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update preview wording in README to apply to the package too

* Verify packaging succeeds in the CI workflow

* Allow a version suffix override in release workflow.

* De-dupe the README between the repo and the NuGet package

* New CI work

* Do not reuse the CI workflow for releases so we can build without tests.

* Add a release process doc

* Fix bug in publishing; needs checkout step. Update comment for publish.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-27 15:08:19 -07:00
Stephen Halter
a9175f0917
Add gitattributes (#98) 2025-03-25 18:57:01 -07:00
Eirik Tsarpalis
aafa9d929d
Add links to API docs from README.md (#96) 2025-03-25 15:55:57 +00:00
Den Delimarsky
2972fd715a
Update documentation configuration (#86)
* Docs configuration

* Update docs/index.md

Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>

* Update the configuration

* Update docs/docfx.json

Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>

* Update config

* Update icons, use Makefile, remove warnings

* Use a link that passes markdown link validation

* remove working directory

---------

Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
2025-03-25 15:43:14 +00:00
Aaron Powell
1f8ebee742
Adding code coverage to tests in workflow (#75)
* Adding code coverage to tests in workflow

This is using the pattern from the Aspire Community Toolkit which will publish coverage results to the GitHub Actions summary, as well as a comment on the PR (if the job was run by someone with permissions to write comments).

Also added the GitHubActionsTestLogger so that it writes a nicer log out to the run.

Fixes #11

* Feedback from code review

* Slight change to structure

* Bad indentation

* Ensuring .NET SDK is installed

* Disabling fail-fast so that jobs aren't terminated if one fails

* Forgot to include coverlet.collector

* Update Directory.Packages.props

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
2025-03-25 15:34:55 +00:00
Jeff Handley
0309dfc447
Add a release workflow for package build/publishing (#51)
* Add a release workflow for package build/publishing

* Use Windows. Set the fetch depth. Fix build/test/pack for output folder. Upload the artifact.
2025-03-21 12:46:45 -07:00
Eirik Tsarpalis
c8c974ada3
Add a markdown link checker (#17)
* Add a markdown link checker

* Fix broken link

* Fix more broken links
2025-03-21 14:29:30 +00:00
Eirik Tsarpalis
c9ed453745 Rename project and namespaces 2025-03-19 15:02:38 +02:00
Toni Wenzel
709b2e0a74
Fix some code smells (#39)
* Fix some code smells

* Fix build

* Fix come issues

* Revert some changes
2025-03-10 18:03:47 +01:00
Eirik Tsarpalis
a2e8ecc23d
Attempt to re-enable net472 tests (#38) 2025-03-08 19:02:21 +01:00
Peder Holdgaard Pedersen
c9bc402fb3
Workflow tweak (#36)
Removed redundant fetch, as the checkout@v4 action already fetches the complete repo history.
2025-03-07 18:38:40 +01:00
Toni Wenzel
ec9bdfcf5d
Improve tool handling (#28)
* Improve tool handling

* Rework stuff with new hosting options

* Update readme

* Fix build

* Try run client tests

* Fix build

* Fix issues on linux

* Try to run testserver on linux

* Fix test issue

* Fix code smells
2025-03-07 16:48:55 +01:00
Toni Wenzel
80daa5b73d
Add ci build workflow (#31)
* Add ci build workflow

* Using cake build

* Update readme
2025-03-06 20:49:59 +01:00