Skip to content

Commit

Permalink
Merge pull request #27 from skyhop/rc/3.1.0
Browse files Browse the repository at this point in the history
Rc/3.1.0
  • Loading branch information
corstian authored Aug 3, 2021
2 parents 19ae73a + f1337fb commit 084549b
Show file tree
Hide file tree
Showing 84 changed files with 46,298 additions and 444 deletions.
368 changes: 368 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

17 changes: 2 additions & 15 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: .NET

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ develop, rc/** ]

jobs:
build:
Expand All @@ -22,15 +20,4 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.7
with:
versionSpec: '5.x'
- name: Build Versioning
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Create the package
run: dotnet pack --configuration Release -p:PackageVersion=${GITVERSION_NUGETVERSIONV2} ./Skyhop.FlightAnalysis/Skyhop.FlightAnalysis.csproj
- name: Publish the package to NuGet
run: dotnet nuget push ./Skyhop.FlightAnalysis/bin/Release/*.nupkg --api-key ${{secrets.NUGET_TOKEN}}
run: dotnet test --no-build --verbosity normal
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Ship packages

on:
push:
branches: [ rc/** ]
release:
types: [ published ]


jobs:
deploy:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x' # SDK Version to use.
source-url: https://nuget.pkg.github.com/skyhop/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- run: dotnet build --configuration Release

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.7
with:
versionSpec: '5.x'

- name: Build Versioning
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Create the package
run: dotnet pack --configuration Release -p:PackageVersion=${GITVERSION_NUGETVERSIONV2}
- name: Publish the package to GPR
run: dotnet nuget push ./artifacts/pkg/Release/*.nupkg --api-key ${{secrets.NUGET_TOKEN}} --source "NuGet"
60 changes: 47 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Credentials
.travis/*.key
.travis/*.key.pub

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand All @@ -12,8 +16,6 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

*.DS_Store

# Build results
[Dd]ebug/
[Dd]ebugPublic/
Expand All @@ -25,12 +27,16 @@ bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Aa]rtifacts/

# Visual Studio 2015 cache/options directory
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand All @@ -51,16 +57,21 @@ BenchmarkDotNet.Artifacts/
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
Expand All @@ -70,6 +81,7 @@ artifacts/
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
Expand Down Expand Up @@ -173,11 +185,11 @@ PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
Expand Down Expand Up @@ -214,6 +226,10 @@ ClientBin/
*.publishsettings
orleans.codegen.cs

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

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
Expand All @@ -228,6 +244,8 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
Expand All @@ -238,6 +256,7 @@ UpgradeLog*.htm
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser

# Microsoft Fakes
FakesAssemblies/
Expand All @@ -249,9 +268,6 @@ FakesAssemblies/
.ntvs_analysis.dat
node_modules/

# Typescript v1 declaration files
typings/

# Visual Studio 6 build log
*.plg

Expand Down Expand Up @@ -280,8 +296,8 @@ paket-files/
.idea/
*.sln.iml

# CodeRush
.cr/
# CodeRush personal settings
.cr/personal

# Python Tools for Visual Studio (PTVS)
__pycache__/
Expand All @@ -305,3 +321,21 @@ __pycache__/

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Local History for Visual Studio
.localhistory/

# OsX shenanigans
.DS_Store
16 changes: 0 additions & 16 deletions BulkFlightDataProcessing/BulkFlightDataProcessing.csproj

This file was deleted.

16 changes: 0 additions & 16 deletions ConsoleApp1/ConsoleApp1.csproj

This file was deleted.

48 changes: 48 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts/</BaseArtifactsPath>
<BaseArtifactsPathSuffix>$(SkyhopProjectCategory)/$(MSBuildProjectName)</BaseArtifactsPathSuffix>
<BaseIntermediateOutputPath>$(BaseArtifactsPath)obj/$(BaseArtifactsPathSuffix)/</BaseIntermediateOutputPath>
<BaseOutputPath>$(BaseArtifactsPath)bin/$(BaseArtifactsPathSuffix)/</BaseOutputPath>
<PackageOutputPath>$(BaseArtifactsPath)pkg/$(Configuration)/</PackageOutputPath>
</PropertyGroup>

<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>portable</DebugType>
<DebugType Condition="'$(codecov)' != ''">full</DebugType>
<SignAssembly>false</SignAssembly>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<UseSharedCompilation>true</UseSharedCompilation>
</PropertyGroup>

<PropertyGroup>
<NeutralLanguage>en</NeutralLanguage>
<OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/skyhop/FlightAnalysis/</RepositoryUrl>
</PropertyGroup>

<PropertyGroup>
<RestoreSources>
https://api.nuget.org/v3/index.json;
https://nuget.pkg.github.com/skyhop/index.json;
</RestoreSources>
</PropertyGroup>

<PropertyGroup>
<LangVersion>8.0</LangVersion>
<Nullable>disable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Features>strict</Features>
</PropertyGroup>

<PropertyGroup>
<NoWarn>CA1303</NoWarn>
<WarningsNotAsErrors>CA1303</WarningsNotAsErrors>
</PropertyGroup>

</Project>
13 changes: 13 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<!-- Settings that append the existing setting value -->
<PropertyGroup>
<DefineConstants>$(DefineConstants);$(OS)</DefineConstants>
</PropertyGroup>

<ItemGroup>
<!-- For example; <PackageReference Update="AutoMapper" Version="10.1.1" /> -->
</ItemGroup>

</Project>
Loading

0 comments on commit 084549b

Please sign in to comment.