Skip to content

Commit 99f4703

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - NoTargets/Traversal SDKs now support central package versions too devlooped/oss@afca922 - Enable floating versions for central packages by default devlooped/oss@b1d14c6 - Update .gitignore with BenchmarkDotNet artifacts default path devlooped/oss@e20e906 - Remove whitespace and add results to ignore devlooped/oss@ef852e7 - Fix dependabot group for tests devlooped/oss@49661db - Only ignore App folder directly under the root devlooped/oss@02811fa - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Make sure build runs before pack devlooped/oss@ede013a - Switch to PackOnBuild=true and remove pack step devlooped/oss@6e7a3ab - Upload binlog artifact on debug runs devlooped/oss@a67ae78 - Set env:gh_token if present as secret devlooped/oss@97ebd18 - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d
1 parent 1b1d86b commit 99f4703

File tree

7 files changed

+40
-35
lines changed

7 files changed

+40
-35
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ updates:
2929
- "Microsoft.AspNetCore*"
3030
Tests:
3131
patterns:
32-
- "Microsoft.NET.Tests*"
32+
- "Microsoft.NET.Test*"
3333
- "xunit*"
3434
- "coverlet*"
3535
ThisAssembly:

.github/workflows/dotnet-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
validate: false
7171

7272
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
73+
uses: peter-evans/create-pull-request@v6
7474
with:
7575
base: main
7676
branch: dotnet-file-sync

.github/workflows/publish.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ on:
1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
13-
13+
PackOnBuild: true
14+
GeneratePackageOnBuild: true
15+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
16+
1417
jobs:
1518
publish:
1619
runs-on: ubuntu-latest
@@ -21,24 +24,18 @@ jobs:
2124
submodules: recursive
2225
fetch-depth: 0
2326

24-
- uses: actions/setup-dotnet@v3
25-
with:
26-
dotnet-version: '8.0.x'
27-
dotnet-quality: 'preview'
28-
2927
- name: 🙏 build
30-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
31-
32-
- name: ⚙ azurite
33-
run: |
34-
npm install [email protected]
35-
npx azurite &
28+
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
3629

3730
- name: 🧪 test
3831
uses: ./.github/workflows/test
3932

40-
- name: 📦 pack
41-
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v}
33+
- name: 🐛 logs
34+
uses: actions/upload-artifact@v3
35+
if: runner.debug && always()
36+
with:
37+
name: logs
38+
path: '*.binlog'
4239

4340
- name: 🚀 nuget
4441
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
bin
2-
app
32
obj
43
artifacts
54
pack
65
TestResults
6+
results
7+
BenchmarkDotNet.Artifacts
8+
/app
79
.vs
810
.vscode
911
.idea

.netconfig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
weak
2828
[file ".github/dependabot.yml"]
2929
url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml
30-
sha = 35ca3f3405452465058d89005f8a88a65847c377
31-
etag = f8080f8f04d87529e90d9a66751d304a7141196fb9734aa2d110784e52e66898
30+
sha = 49661dbf0720cde93eb5569be7523b5912351560
31+
etag = c147ea2f3431ca0338c315c4a45b56ee233c4d30f8d6ab698d0e1980a257fd6a
3232
weak
3333
[file ".github/release.yml"]
3434
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
@@ -55,8 +55,8 @@
5555
weak
5656
[file ".github/workflows/dotnet-file.yml"]
5757
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
58-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
59-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
58+
sha = 11a331d50be517c29df5ab1358ef354d8871d59a
59+
etag = de115efac25b63d561d8b2ffcba3e7710bfef7bfefecb811ea943b6f2bd8de96
6060
weak
6161
[file ".github/workflows/includes.yml"]
6262
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
@@ -65,8 +65,8 @@
6565
weak
6666
[file ".github/workflows/publish.yml"]
6767
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
68-
sha = d3022567c9ef2bc9461511e53b8abe065afdf03b
69-
etag = 58601b5a71c805647ab26e84053acdfb8d174eaa93330487af8a5503753c5707
68+
sha = 97ebd189e44da857e53e4d98af2727dd9dcb0740
69+
etag = 04a0796e61476765c0a233806e85fb3f461d7cf099a14c91e6c5abcab938062f
7070
weak
7171
[file ".github/workflows/sponsor.yml"]
7272
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
@@ -80,8 +80,8 @@
8080
weak
8181
[file ".gitignore"]
8282
url = https://github.com/devlooped/oss/blob/main/.gitignore
83-
sha = 4bd702593c10df189cd4a0f6e6fb72e55de02198
84-
etag = f11dcc8c057bd2f526aa9c7090c9568d1656fafaaedc6719da42a00283018ffa
83+
sha = 02811fa23b0a102b9b33048335d41e515bf75737
84+
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
8585
weak
8686
[file "_config.yml"]
8787
url = https://github.com/devlooped/oss/blob/main/_config.yml
@@ -100,8 +100,8 @@
100100
weak
101101
[file "src/Directory.Build.props"]
102102
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
103-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
104-
etag = e9fd8ef4740d5559fa495580b04ec3437b99edbfb8452813907337f9374c1282
103+
sha = 6dfe21fbd4a8390448958c714f8e9006fc4ac3ca
104+
etag = de7c6b643bac2fc6651fa08f69d628cbbe12e7050829b981ac771e1b9ccccd89
105105
weak
106106
[file "src/Directory.Build.targets"]
107107
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets

readme.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,39 +503,38 @@ project, and more incremental behavior addded as users opt-in to certain feature
503503
[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor)
504504
[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh)
505505
[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet)
506-
[![Daniel Gnägi](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dgnaegi.png "Daniel Gnägi")](https://github.com/dgnaegi)
507506
[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway)
508507
[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
509508
[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
510509
[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
511510
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
512511
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
513512
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
513+
[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
514514
[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel)
515515
[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
516516
[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
517517
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99)
518518
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1)
519-
[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn)
520519
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
521-
[![Rich Lee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/richlee.png "Rich Lee")](https://github.com/richlee)
522-
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/nietras.png "")](https://github.com/nietras)
523520
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
524521
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
525522
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
526523
[![Oleg Kyrylchuk](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/okyrylchuk.png "Oleg Kyrylchuk")](https://github.com/okyrylchuk)
527-
[![Mariusz Kogut](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MariuszKogut.png "Mariusz Kogut")](https://github.com/MariuszKogut)
528524
[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai)
529525
[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt)
530526
[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander)
531527
[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager)
532528
[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh)
533529
[![Angelo Belchior](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/angelobelchior.png "Angelo Belchior")](https://github.com/angelobelchior)
534-
[![Blauhaus Technology (Pty) Ltd](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/BlauhausTechnology.png "Blauhaus Technology (Pty) Ltd")](https://github.com/BlauhausTechnology)
535530
[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny)
536531
[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp)
537532
[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu)
538-
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "")](https://github.com/sorahex)
533+
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
534+
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
535+
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
536+
[![Michael Staib](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/michaelstaib.png "Michael Staib")](https://github.com/michaelstaib)
537+
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
539538

540539

541540
<!-- sponsors.md -->

src/Directory.Build.props

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\bin'))</PackageOutputPath>
3838

3939
<!-- Use Directory.Packages.props if possible. NOTE: other MSBuild SDKs (i.e. NoTargets/Traversal) do not support central packages -->
40-
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props') AND ('$(MSBuildProjectExtension)' == '.csproj' OR '$(MSBuildProjectExtension)' == '.vbproj')">true</ManagePackageVersionsCentrally>
40+
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props')">true</ManagePackageVersionsCentrally>
41+
<CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled>
4142

4243
<!-- Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId] -->
4344
<GeneratePathProperty>true</GeneratePathProperty>
@@ -141,6 +142,12 @@
141142
<ProjectProperty Include="PublicKeyToken" />
142143
</ItemGroup>
143144

145+
<ItemGroup Label="Throw">
146+
<Using Include="System.ArgumentException" Static="true" />
147+
<Using Include="System.ArgumentOutOfRangeException" Static="true" />
148+
<Using Include="System.ArgumentNullException" Static="true" />
149+
</ItemGroup>
150+
144151
<Import Project="Directory.props" Condition="Exists('Directory.props')"/>
145152
<Import Project="Directory.props.user" Condition="Exists('Directory.props.user')" />
146153
</Project>

0 commit comments

Comments
 (0)