switch to non generic method with type default (#16) #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish wiki | |
on: | |
push: | |
branches: [main] | |
paths: | |
- wiki/** | |
- .github/workflows/publishWiki.yml | |
concurrency: | |
group: publish-wiki | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
publish-wiki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Andrew-Chen-Wang/github-wiki-action@v4 | |
build_and_pack: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup .NET 9 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '9.0.x' | |
- name: Test And Collect CodeCov | |
run: | | |
dotnet tool install --global dotnet-coverage | |
dotnet-coverage collect "dotnet run --project ./tests/MockMe.Tests.Runner/" -f cobertura -s ./CodeCoverage.runsettings | |
- name: Generate report | |
uses: danielpalme/[email protected] | |
with: | |
reports: './output.cobertura.xml' | |
targetdir: './tests/TestResults' | |
reporttypes: 'lcov' | |
# reporttypes: 'html' | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
path-to-lcov: ./tests/TestResults/lcov.info |