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
19 changes: 18 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,29 @@ indent_style = space
[*.cs]
indent_size = 4
indent_style = space
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

# Require "this." keyword qualification in code
# Prefer "this." qualification in product-style code
dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_event = true:suggestion

dotnet_diagnostic.CA1510.severity = suggestion
dotnet_diagnostic.CA1859.severity = suggestion

# Prefer classic constructors on classes; primary constructors are fine on records.
csharp_style_prefer_primary_constructors = false
dotnet_diagnostic.IDE0290.severity = none

# Tests: keep analyzers visible in the IDE, but do not fail Verify builds.
# StyleCop is not referenced for test projects.
[tests/**/*.cs]
dotnet_analyzer_diagnostic.severity = suggestion
dotnet_diagnostic.IDE0058.severity = none

# Fixture/helpers intentionally break design rules (delegates, public fields, odd shapes).
[tests/AutoFixture.TUnit.Tests/TestTypes/**.cs]
dotnet_analyzer_diagnostic.severity = none
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

### Checklist

- [ ] Reviewed the [contribution guidelines](https://github.com/AutoFixture/AutoFixture/blob/master/CONTRIBUTING.md)
- [ ] Reviewed the [contribution guidelines](https://github.com/AutoFixture/AutoFixture.TUnit/blob/master/CONTRIBUTING.md)
- [ ] Linked the issue(s) the PR closes
- [ ] Implemented automated tests and checked coverage
- [ ] Provided inline documentation comments for new public API
- [ ] Ran the full solution [build and validation](https://github.com/AutoFixture/AutoFixture#build) locally
- [ ] Ran the full solution [build and validation](https://github.com/AutoFixture/AutoFixture.TUnit/blob/master/CONTRIBUTING.md#verification) locally
8 changes: 4 additions & 4 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ jobs:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v6
with:
dotnet-version: |
6.0.x
8.0.x
10.0.x
- name: Cache .nuke/temp, ~/.nuget/packages
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
.nuke/temp
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v6
with:
dotnet-version: |
6.0.x
8.0.x
10.0.x
- name: Cache .nuke/temp, ~/.nuget/packages
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
.nuke/temp
Expand All @@ -46,15 +46,15 @@ jobs:
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: testresults
path: artifacts/testresults
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: reports
path: artifacts/reports
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: packages
path: artifacts/packages
Loading