Skip to content

Commit 16cf946

Browse files
Merge pull request #1 from IowaComputerGurus/feature/initial-project-creation
Initial product release to support Resend!
2 parents 30564f8 + be10c20 commit 16cf946

25 files changed

+1385
-114
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: mitchelsellers

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/ci-build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI Build
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
pull_request:
7+
branches: [ develop ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
name: Validate Build
14+
env:
15+
solution-path: './src/NetCore.Utilities.Email.Resend.sln'
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Ensure .NET Installed
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: 8.0.x
25+
26+
- name: Install GitVersion
27+
uses: gittools/actions/gitversion/setup@v3.1.11
28+
with:
29+
versionSpec: '6.0.5'
30+
31+
- name: Determine Version
32+
id: gitversion
33+
uses: gittools/actions/gitversion/execute@v3.1.11
34+
with:
35+
useConfigFile: true
36+
37+
- name: Restore Packages
38+
run: dotnet restore "${{ env.solution-path }}"
39+
- name: Build
40+
run: dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }}
41+
- name: Test
42+
run: dotnet test "${{ env.solution-path }}" --no-build --configuration Release --collect "XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --logger "trx;LogFileName=unittests.trx"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release Build
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
name: Build & Publish to NuGet
12+
environment: nuget
13+
env:
14+
solution-path: './src/NetCore.Utilities.Email.Resend.sln'
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Ensure .NET Installed
21+
uses: actions/setup-dotnet@v4
22+
with:
23+
dotnet-version: 8.0.x
24+
25+
- name: Install GitVersion
26+
uses: gittools/actions/gitversion/setup@v3.1.11
27+
with:
28+
versionSpec: '6.0.5'
29+
30+
- name: Determine Version
31+
id: gitversion
32+
uses: gittools/actions/gitversion/execute@v3.1.11
33+
with:
34+
useConfigFile: true
35+
36+
- name: Restore Packages
37+
run: dotnet restore "${{ env.solution-path }}"
38+
39+
- name: Build
40+
run: dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }}
41+
42+
- name: Publish
43+
run: dotnet nuget push **\*.nupkg -s 'https://api.nuget.org/v3/index.json' -k ${{secrets.ICG_NUGET_API_KEY}}

.gitignore

Lines changed: 24 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,28 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
4-
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
55

66
# User-specific files
7-
*.rsuser
87
*.suo
98
*.user
109
*.userosscache
1110
*.sln.docstates
12-
*.env
1311

1412
# User-specific files (MonoDevelop/Xamarin Studio)
1513
*.userprefs
1614

17-
# Mono auto generated files
18-
mono_crash.*
19-
2015
# Build results
2116
[Dd]ebug/
2217
[Dd]ebugPublic/
2318
[Rr]elease/
2419
[Rr]eleases/
2520
x64/
2621
x86/
27-
[Ww][Ii][Nn]32/
28-
[Aa][Rr][Mm]/
29-
[Aa][Rr][Mm]64/
30-
[Aa][Rr][Mm]64[Ee][Cc]/
3122
bld/
23+
[Bb]in/
3224
[Oo]bj/
33-
[Oo]ut/
3425
[Ll]og/
35-
[Ll]ogs/
36-
37-
# Build results on 'Bin' directories
38-
**/[Bb]in/*
39-
# Uncomment if you have tasks that rely on *.refresh files to move binaries
40-
# (https://github.com/github/gitignore/pull/3736)
41-
#!**/[Bb]in/*.refresh
4226

4327
# Visual Studio 2015/2017 cache/options directory
4428
.vs/
@@ -51,15 +35,10 @@ Generated\ Files/
5135
# MSTest test Results
5236
[Tt]est[Rr]esult*/
5337
[Bb]uild[Ll]og.*
54-
*.trx
5538

56-
# NUnit
39+
# NUNIT
5740
*.VisualState.xml
5841
TestResult.xml
59-
nunit-*.xml
60-
61-
# Approval Tests result files
62-
*.received.*
6342

6443
# Build Results of an ATL Project
6544
[Dd]ebugPS/
@@ -73,39 +52,32 @@ BenchmarkDotNet.Artifacts/
7352
project.lock.json
7453
project.fragment.lock.json
7554
artifacts/
76-
77-
# ASP.NET Scaffolding
78-
ScaffoldingReadMe.txt
55+
**/Properties/launchSettings.json
7956

8057
# StyleCop
8158
StyleCopReport.xml
8259

8360
# Files built by Visual Studio
8461
*_i.c
8562
*_p.c
86-
*_h.h
63+
*_i.h
8764
*.ilk
8865
*.meta
8966
*.obj
90-
*.idb
9167
*.iobj
9268
*.pch
9369
*.pdb
9470
*.ipdb
9571
*.pgc
9672
*.pgd
9773
*.rsp
98-
# but not Directory.Build.rsp, as it configures directory-level build defaults
99-
!Directory.Build.rsp
10074
*.sbr
10175
*.tlb
10276
*.tli
10377
*.tlh
10478
*.tmp
10579
*.tmp_proj
106-
*_wpftmp.csproj
10780
*.log
108-
*.tlog
10981
*.vspscc
11082
*.vssscc
11183
.builds
@@ -147,6 +119,9 @@ _ReSharper*/
147119
*.[Rr]e[Ss]harper
148120
*.DotSettings.user
149121

122+
# JustCode is a .NET coding add-in
123+
.JustCode
124+
150125
# TeamCity is a build add-in
151126
_TeamCity*
152127

@@ -157,18 +132,12 @@ _TeamCity*
157132
.axoCover/*
158133
!.axoCover/settings.json
159134

160-
# Coverlet is a free, cross platform Code Coverage Tool
161-
coverage*.json
162-
coverage*.xml
163-
coverage*.info
164-
165135
# Visual Studio code coverage results
166136
*.coverage
167137
*.coveragexml
168138

169139
# NCrunch
170140
_NCrunch_*
171-
.NCrunch_*
172141
.*crunch*.local.xml
173142
nCrunchTemp_*
174143

@@ -210,8 +179,6 @@ PublishScripts/
210179

211180
# NuGet Packages
212181
*.nupkg
213-
# NuGet Symbol Packages
214-
*.snupkg
215182
# The packages folder can be ignored because of Package Restore
216183
**/[Pp]ackages/*
217184
# except build/, which is used as an MSBuild target.
@@ -236,14 +203,12 @@ BundleArtifacts/
236203
Package.StoreAssociation.xml
237204
_pkginfo.txt
238205
*.appx
239-
*.appxbundle
240-
*.appxupload
241206

242207
# Visual Studio cache files
243208
# files ending in .cache can be ignored
244209
*.[Cc]ache
245210
# but keep track of directories ending in .cache
246-
!?*.[Cc]ache/
211+
!*.[Cc]ache/
247212

248213
# Others
249214
ClientBin/
@@ -256,7 +221,7 @@ ClientBin/
256221
*.publishsettings
257222
orleans.codegen.cs
258223

259-
# Including strong name files can present a security risk
224+
# Including strong name files can present a security risk
260225
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
261226
#*.snk
262227

@@ -287,9 +252,6 @@ ServiceFabricBackup/
287252
*.bim.layout
288253
*.bim_*.settings
289254
*.rptproj.rsuser
290-
*- [Bb]ackup.rdl
291-
*- [Bb]ackup ([0-9]).rdl
292-
*- [Bb]ackup ([0-9][0-9]).rdl
293255

294256
# Microsoft Fakes
295257
FakesAssemblies/
@@ -310,17 +272,6 @@ node_modules/
310272
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
311273
*.vbw
312274

313-
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
314-
*.vbp
315-
316-
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
317-
*.dsw
318-
*.dsp
319-
320-
# Visual Studio 6 technical files
321-
*.ncb
322-
*.aps
323-
324275
# Visual Studio LightSwitch build output
325276
**/*.HTMLClient/GeneratedArtifacts
326277
**/*.DesktopClient/GeneratedArtifacts
@@ -330,22 +281,26 @@ node_modules/
330281
_Pvt_Extensions
331282

332283
# Paket dependency manager
333-
**/.paket/paket.exe
284+
.paket/paket.exe
334285
paket-files/
335286

336287
# FAKE - F# Make
337-
**/.fake/
288+
.fake/
289+
290+
# JetBrains Rider
291+
.idea/
292+
*.sln.iml
338293

339-
# CodeRush personal settings
340-
**/.cr/personal
294+
# CodeRush
295+
.cr/
341296

342297
# Python Tools for Visual Studio (PTVS)
343-
**/__pycache__/
298+
__pycache__/
344299
*.pyc
345300

346301
# Cake - Uncomment if you are using it
347-
#tools/**
348-
#!tools/packages.config
302+
# tools/**
303+
# !tools/packages.config
349304

350305
# Tabs Studio
351306
*.tss
@@ -362,57 +317,14 @@ paket-files/
362317
# OpenCover UI analysis results
363318
OpenCover/
364319

365-
# Azure Stream Analytics local run output
320+
# Azure Stream Analytics local run output
366321
ASALocalRun/
367322

368323
# MSBuild Binary and Structured Log
369324
*.binlog
370-
MSBuild_Logs/
371-
372-
# AWS SAM Build and Temporary Artifacts folder
373-
.aws-sam
374325

375326
# NVidia Nsight GPU debugger configuration file
376327
*.nvuser
377328

378-
# MFractors (Xamarin productivity tool) working folder
379-
**/.mfractor/
380-
381-
# Local History for Visual Studio
382-
**/.localhistory/
383-
384-
# Visual Studio History (VSHistory) files
385-
.vshistory/
386-
387-
# BeatPulse healthcheck temp database
388-
healthchecksdb
389-
390-
# Backup folder for Package Reference Convert tool in Visual Studio 2017
391-
MigrationBackup/
392-
393-
# Ionide (cross platform F# VS Code tools) working folder
394-
**/.ionide/
395-
396-
# Fody - auto-generated XML schema
397-
FodyWeavers.xsd
398-
399-
# VS Code files for those working on multiple tools
400-
.vscode/*
401-
!.vscode/settings.json
402-
!.vscode/tasks.json
403-
!.vscode/launch.json
404-
!.vscode/extensions.json
405-
!.vscode/*.code-snippets
406-
407-
# Local History for Visual Studio Code
408-
.history/
409-
410-
# Built Visual Studio Code Extensions
411-
*.vsix
412-
413-
# Windows Installer files from build outputs
414-
*.cab
415-
*.msi
416-
*.msix
417-
*.msm
418-
*.msp
329+
# MFractors (Xamarin productivity tool) working folder
330+
.mfractor/

0 commit comments

Comments
 (0)