-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update to natively support .NET 7 (#6) Co-authored-by: Robert Angers <[email protected]> * feat: target net6.0 and net7.0 exclusively older versions remain available, no reason to keep old code here * chore: remove old versions from GitHub Actions * chore: update deps * chore: rename samples to examples (for renovate config) * chore: add renovate * chore: cleanup code
- Loading branch information
1 parent
68916b7
commit 95d2546
Showing
236 changed files
with
1,276 additions
and
40,996 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
exclude_paths: | ||
- 'samples/**/*' | ||
- 'examples/**/*' | ||
- 'tests/**/*' | ||
- 'build.ps1' | ||
- 'README.md' |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
"group:allNonMajor", | ||
":semanticCommitTypeAll(chore)", | ||
":ignoreModulesAndTests" | ||
], | ||
"meteor": { | ||
"enabled": false | ||
}, | ||
"rangeStrategy": "bump", | ||
"nuget": { | ||
"commitMessageTopic": "{{prettyDepType}} {{depName}}" | ||
}, | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"], | ||
"automerge": true, | ||
"automergeSchedule": ["after 1am and before 2am"], | ||
"schedule": ["after 2am and before 3am"] | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: .NET Core Coverage (Ubuntu) | ||
name: .NET Coverage (Ubuntu) | ||
|
||
on: | ||
push: | ||
# branches: | ||
# branches-ignore: | ||
# branches: | ||
# branches-ignore: | ||
pull_request: | ||
# branches: | ||
# branches-ignore: | ||
# branches: | ||
# branches-ignore: | ||
|
||
env: | ||
# Disable the .NET logo in the console output. | ||
|
@@ -21,32 +21,31 @@ env: | |
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Configure MongoDB (Ubuntu) | ||
run: sudo systemctl start mongod | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
# If you want to specify a particular version, use this. Otherwise, will use the Runner's installed version | ||
# If you want to specify a particular version, use this. Otherwise, will use the Runner's installed version | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --configuration Release --no-restore | ||
# These two options cannot be combined because the logger causes duplicate coverage reports to go to CodeCov | ||
# https://github.com/coverlet-coverage/coverlet/issues/733 | ||
# if you want the test results, best to run separately | ||
# - name: Test | ||
# - name: Test | ||
# run: dotnet test --logger trx --results-directory ${{env.BUILD_ARTIFACT_PATH}}/test-results | ||
- name: Test with coverage | ||
run: dotnet test --results-directory ${{env.BUILD_ARTIFACT_PATH}}/coverage --collect "XPlat Code Coverage" --settings CodeCoverage.runsettings | ||
run: dotnet test --results-directory ${{env.BUILD_ARTIFACT_PATH}}/coverage --collect "XPlat Code Coverage" --settings CodeCoverage.runsettings | ||
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
with: | ||
|
Oops, something went wrong.