Skip to content

Commit

Permalink
add minver
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed May 15, 2024
1 parent 8049f79 commit 8505d5b
Show file tree
Hide file tree
Showing 22 changed files with 164 additions and 81 deletions.
18 changes: 0 additions & 18 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-t4": {
"version": "2.2.1",
"commands": [
"t4"
]
},
"jetbrains.resharper.globaltools": {
"version": "2023.1.0",
"commands": [
"jb"
]
},
"csharpier": {
"version": "0.23.0",
"commands": [
Expand All @@ -25,12 +13,6 @@
"commands": [
"husky"
]
},
"gitversion.tool": {
"version": "5.12.0",
"commands": [
"dotnet-gitversion"
]
}
}
}
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: .NET Build

on:
pull_request:
branches: ["main"]

permissions:
contents: write

jobs:
build-and-publish:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x.x

- name: NuGet Cache
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}

- name: Format
run: ./build.ps1 format

- name: Restore
run: ./build.ps1 restore

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Build
run: ./build.ps1 build
11 changes: 9 additions & 2 deletions .github/workflows/dotnet.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@ name: .NET Build and Publish

on:
pull_request:
branches: ["dui3/alpha", "dui3/ci/github-actions-test"]
branches: ["dui3/alpha"]
push:
branches: ["main"]

permissions:
contents: write
contents: write

jobs:
build-and-publish:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"Microsoft.Extensions.Options": "7.0.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"type": "Direct",
"requested": "[1.14.1, )",
Expand Down Expand Up @@ -382,15 +388,13 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.Utils": "[2.0.999-local, )",
"Speckle.Core": "[2.0.999-local, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
Expand All @@ -400,46 +404,40 @@
"type": "Project",
"dependencies": {
"Microsoft.Web.WebView2": "[1.0.1823.32, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.DUI": "[2.0.999-local, )"
}
},
"speckle.connectors.utils": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.converters.arcgis3": {
"type": "Project",
"dependencies": {
"Esri.ArcGISPro.Extensions30": "[3.2.0.49743, )",
"PolySharp": "[1.14.1, )",
"Speckle.Converters.Common": "[2.0.999-local, )"
}
},
"speckle.converters.arcgis3.dependencyinjection": {
"type": "Project",
"dependencies": {
"Autofac": "[5.2.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Converters.ArcGIS3": "[2.0.999-local, )",
"Speckle.Converters.Common.DependencyInjection": "[2.0.999-local, )"
}
},
"speckle.converters.common": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Objects": "[2.0.999-local, )"
}
},
"speckle.converters.common.dependencyinjection": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Converters.Common": "[2.0.999-local, )"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"System.ValueTuple": "4.5.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"type": "Direct",
"requested": "[1.14.1, )",
Expand Down Expand Up @@ -438,15 +444,13 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.Utils": "[2.0.999-local, )",
"Speckle.Core": "[2.0.999-local, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
Expand All @@ -456,21 +460,18 @@
"type": "Project",
"dependencies": {
"Microsoft.Web.WebView2": "[1.0.1823.32, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.DUI": "[2.0.999-local, )"
}
},
"speckle.connectors.utils": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.converters.autocad2023": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.AutoCAD.API": "[2023.0.0, )",
"Speckle.Converters.Common": "[2.0.999-local, )"
}
Expand All @@ -479,23 +480,20 @@
"type": "Project",
"dependencies": {
"Autofac": "[5.2.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Converters.Autocad2023": "[2.0.999-local, )",
"Speckle.Converters.Common.DependencyInjection": "[2.0.999-local, )"
}
},
"speckle.converters.common": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Objects": "[2.0.999-local, )"
}
},
"speckle.converters.common.dependencyinjection": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Converters.Common": "[2.0.999-local, )"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"CefSharp.Common": "[92.0.260]"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"type": "Direct",
"requested": "[1.14.1, )",
Expand Down Expand Up @@ -466,15 +472,13 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.Utils": "[2.0.999-local, )",
"Speckle.Core": "[2.0.999-local, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
Expand All @@ -483,30 +487,26 @@
"speckle.connectors.utils": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.converters.common": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Objects": "[2.0.999-local, )"
}
},
"speckle.converters.common.dependencyinjection": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Converters.Common": "[2.0.999-local, )"
}
},
"speckle.converters.revit2023": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Converters.Common": "[2.0.999-local, )",
"Speckle.Revit.API": "[2023.0.0, )"
}
Expand All @@ -515,7 +515,6 @@
"type": "Project",
"dependencies": {
"Autofac": "[5.2.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Converters.Common": "[2.0.999-local, )",
"Speckle.Converters.Revit2023": "[2.0.999-local, )"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"System.ValueTuple": "4.5.0"
}
},
"MinVer": {
"type": "Direct",
"requested": "[5.0.0, )",
"resolved": "5.0.0",
"contentHash": "ybkgpQMtt0Fo91l5rYtE3TZtD+Nmy5Ko091xvfXXOosQdMi30XO2EZ2+ShZt89gdu7RMmJqZaJ+e1q6d+6+KNw=="
},
"PolySharp": {
"type": "Direct",
"requested": "[1.14.1, )",
Expand Down Expand Up @@ -447,15 +453,13 @@
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.connectors.dui": {
"type": "Project",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "[7.0.0, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.Utils": "[2.0.999-local, )",
"Speckle.Core": "[2.0.999-local, )",
"System.Threading.Tasks.Dataflow": "[6.0.0, )"
Expand All @@ -465,21 +469,18 @@
"type": "Project",
"dependencies": {
"Microsoft.Web.WebView2": "[1.0.1823.32, )",
"PolySharp": "[1.14.1, )",
"Speckle.Connectors.DUI": "[2.0.999-local, )"
}
},
"speckle.connectors.utils": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Core": "[2.0.999-local, )"
}
},
"speckle.converters.common": {
"type": "Project",
"dependencies": {
"PolySharp": "[1.14.1, )",
"Speckle.Autofac": "[2.0.999-local, )",
"Speckle.Objects": "[2.0.999-local, )"
}
Expand All @@ -488,7 +489,6 @@
"type": "Project",
"dependencies": {
"Autofac": "[5.2.0, )",
"PolySharp": "[1.14.1, )",
"RhinoCommon": "[7.13.21348.13001, )"
}
},
Expand Down
Loading

0 comments on commit 8505d5b

Please sign in to comment.