Skip to content

Commit 507dc28

Browse files
committed
Initial commit
0 parents  commit 507dc28

36 files changed

+2325
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*.{cs,fs,fsx}]
4+
indent_size = 4
5+
indent_style = space
6+
7+
[*.{sln,csproj,fsproj,config,xml,props}]
8+
indent_size = 2
9+
indent_style = space
10+
11+
[*.cs]
12+
# Require "this." keyword qualification in code
13+
dotnet_style_qualification_for_field = true:suggestion
14+
dotnet_style_qualification_for_property = true:suggestion
15+
dotnet_style_qualification_for_method = true:suggestion
16+
dotnet_style_qualification_for_event = true:suggestion

.gitattributes

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Enable automatic line ending conversion for text files on checkout and commit.
2+
# For all extensions that are not being explicitly defined below git will try to guess
3+
# whether file contains text and if so, will convert the line endings.
4+
* text=auto
5+
6+
# Define all the file extensions for which we should always apply line ending covnersion
7+
*.cs text diff=csharp
8+
*.fs text
9+
*.fsx text
10+
*.config text
11+
*.xml text
12+
13+
*.sln text
14+
*.csproj text
15+
*.fsproj text
16+
*.props text
17+
*.ruleset text
18+
19+
*.md text
20+
*.txt text
21+
*.yml text
22+
*.pp text
23+
*.nuspec text
24+
25+
*.bat text
26+
*.cmd text
27+
*.sh text
28+
29+
# Define all the binary files that should not be touched
30+
*.dll binary
31+
*.exe binary
32+
*.pdb binary
33+
*.png binary
34+
*.snk binary
35+
*.sigdata binary
36+
*.optdata binary
37+

.github/ISSUE_TEMPLATE/0-bug.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: "\U0001F41B Bug Report"
3+
about: Report a bug or technical issue you've encoutered. Open a question if unsure.
4+
title: "\U0001F41B "
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
### Describe the Bug
11+
<!-- A clear and concise description of what the bug is. -->
12+
13+
### Scenario
14+
<!-- A code sample or test that demonstrates the issue. -->
15+
<!-- For larger sameples provide a repro repository. -->
16+
17+
### Expected Behavior
18+
<!-- A clear and concise description of what you expected to happen. -->
19+
20+
### Checklist
21+
22+
- [ ] Read the [Contributing guidelines](https://github.com/AutoFixture/AutoFixture/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/AutoFixture/AutoFixture/blob/master/CODE_OF_CONDUCT.md) documents
23+
- [ ] Updated all AutoFixture and related libraries
24+
- [ ] Confirmed in [support forums](https://github.com/AutoFixture/AutoFixture/discussions/categories/q-a) that the behavior is a bug
25+
- [ ] Checked the bug is not a duplicate
26+
27+
### More Information
28+
<!-- Add any other context about the problem here. -->
29+
30+
### Screenshots
31+
<!-- If applicable, add screenshots to help explain your problem. -->
32+
33+
Thanks!
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: "\U0001F6A8 Vulnerability"
3+
about: Report a vulnerability or security issue
4+
title: "\U0001F6A8 "
5+
labels: 'vulnerability'
6+
assignees: ''
7+
8+
---
9+
Hello,
10+
11+
### Describe the issue
12+
<!-- A clear and concise description of what the bug is. -->
13+
14+
### Related links
15+
<!-- A list of links to related resoures (e.g. GitHub Advisory Database https://github.com/advisories ). -->
16+
17+
<!-- Example:
18+
1. [Some Security Vulnerability](https://github.com/advisories)
19+
-->
20+
21+
### Affected products
22+
<!-- A list of affected products and versions. -->
23+
24+
<!-- Example:
25+
- AutoFixture.AutoMoq v4.10.0
26+
-->
27+
28+
### Checklist
29+
30+
- [ ] Read the [Contributing guidelines](https://github.com/AutoFixture/AutoFixture/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/AutoFixture/AutoFixture/blob/master/CODE_OF_CONDUCT.md) documents
31+
- [ ] Issue reported to issue owner (if it comes from a third party library)
32+
- [ ] Attached links to GitHub Advisory Database or other authority
33+
- [ ] Checked the issue is not a duplicate
34+
35+
### More Information
36+
<!-- Add any other context about the problem here. -->
37+
38+
### Screenshots
39+
<!-- If applicable, add screenshots to help explain your problem. -->
40+
41+
Thanks!
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: "\U00002728 New Feature"
3+
about: Describe a new feature. ONLY for features confirmed for development.
4+
title: "\U00002728 "
5+
labels: 'feature'
6+
assignees: ''
7+
8+
---
9+
10+
### Description
11+
<!-- A clear and concise description of what the feature. -->
12+
13+
### Example
14+
<!-- A code sample or test that demonstrates the proposed API. -->
15+
<!-- For larger samples provide a gist or example repository. -->
16+
17+
### Checklist
18+
19+
- [ ] Read the [Contributing guidelines](https://github.com/AutoFixture/AutoFixture/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/AutoFixture/AutoFixture/blob/master/CODE_OF_CONDUCT.md) documents
20+
- [ ] Confirmed feature idea with maintainers in [support forums](https://github.com/AutoFixture/AutoFixture/discussions/categories/ideas)
21+
22+
### More Information
23+
<!-- Add any other context about the problem here. -->
24+
25+
Thanks!

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💡 New Idea
4+
url: https://github.com/AutoFixture/AutoFixture/discussions/categories/ideas
5+
about: Propose and discuss ideas and proposals
6+
- name: 🤔 Question
7+
url: https://github.com/AutoFixture/AutoFixture/discussions/categories/q-a
8+
about: Ask a questions or seek help
9+
- name: 📖 Documentation
10+
url: https://github.com/AutoFixture/AutoFixture.github.io
11+
about: Update the documentation (see documentation repo)
12+
- name: 📈 Show and Tell
13+
url: https://github.com/AutoFixture/AutoFixture/discussions/categories/show-and-tell
14+
about: Share something cool (e.g. community packages, snippets, success stories)

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Description
2+
<!-- Summarize your changes -->
3+
4+
### Closed issues
5+
<!-- List of issues it closes e.g. fixes #123 -->
6+
7+
### Checklist
8+
9+
- [ ] Reviewed the [contribution guidelines](https://github.com/AutoFixture/AutoFixture/blob/master/CONTRIBUTING.md)
10+
- [ ] Linked the issue(s) the PR closes
11+
- [ ] Implemented automated tests and checked coverage
12+
- [ ] Provided inline documentation comments for new public API
13+
- [ ] Ran the full solution [build and validation](https://github.com/AutoFixture/AutoFixture#build) locally

.github/workflows/continuous.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# ------------------------------------------------------------------------------
2+
# <auto-generated>
3+
#
4+
# This code was generated.
5+
#
6+
# - To turn off auto-generation set:
7+
#
8+
# [GitHubActions (AutoGenerate = false)]
9+
#
10+
# - To trigger manual generation invoke:
11+
#
12+
# nuke --generate-configuration GitHubActions_continuous --host GitHubActions
13+
#
14+
# </auto-generated>
15+
# ------------------------------------------------------------------------------
16+
17+
name: continuous
18+
19+
on:
20+
pull_request:
21+
branches:
22+
- master
23+
- 'release/*'
24+
25+
jobs:
26+
windows-latest:
27+
name: windows-latest
28+
runs-on: windows-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
- uses: actions/setup-dotnet@v4
34+
with:
35+
dotnet-version: |
36+
6.0.x
37+
8.0.x
38+
- name: Cache .nuke/temp, ~/.nuget/packages
39+
uses: actions/cache@v4
40+
with:
41+
path: |
42+
.nuke/temp
43+
~/.nuget/packages
44+
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
45+
- name: Run './build.cmd Verify Cover Pack'
46+
run: ./build.cmd Verify Cover Pack --no-logo
47+
env:
48+
GitHubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# ------------------------------------------------------------------------------
2+
# <auto-generated>
3+
#
4+
# This code was generated.
5+
#
6+
# - To turn off auto-generation set:
7+
#
8+
# [GitHubActions (AutoGenerate = false)]
9+
#
10+
# - To trigger manual generation invoke:
11+
#
12+
# nuke --generate-configuration GitHubActions_release --host GitHubActions
13+
#
14+
# </auto-generated>
15+
# ------------------------------------------------------------------------------
16+
17+
name: release
18+
19+
on:
20+
push:
21+
tags:
22+
- 'v*'
23+
24+
jobs:
25+
windows-latest:
26+
name: windows-latest
27+
runs-on: windows-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0
32+
- uses: actions/setup-dotnet@v4
33+
with:
34+
dotnet-version: |
35+
6.0.x
36+
8.0.x
37+
- name: Cache .nuke/temp, ~/.nuget/packages
38+
uses: actions/cache@v4
39+
with:
40+
path: |
41+
.nuke/temp
42+
~/.nuget/packages
43+
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
44+
- name: Run './build.cmd Verify Cover Publish'
45+
run: ./build.cmd Verify Cover Publish --no-logo
46+
env:
47+
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
48+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
49+
- uses: actions/upload-artifact@v4
50+
with:
51+
name: testresults
52+
path: artifacts/testresults
53+
- uses: actions/upload-artifact@v4
54+
with:
55+
name: reports
56+
path: artifacts/reports
57+
- uses: actions/upload-artifact@v4
58+
with:
59+
name: packages
60+
path: artifacts/packages

0 commit comments

Comments
 (0)