Skip to content

Commit fc18a1e

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update to checkout@v4 devlooped/oss@5fb1723 - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Add common sponsors metadata to assemblies devlooped/oss@0789bf0 - Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0 - Update nuget.config to new domain devlooped/oss@0d911c2 - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350
1 parent 8612ed1 commit fc18a1e

File tree

11 files changed

+50
-32
lines changed

11 files changed

+50
-32
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
matrix: ${{ steps.lookup.outputs.matrix }}
3535
steps:
3636
- name: 🤘 checkout
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
3838

3939
- name: 🔎 lookup
4040
id: lookup
@@ -53,7 +53,7 @@ jobs:
5353
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
5454
steps:
5555
- name: 🤘 checkout
56-
uses: actions/checkout@v2
56+
uses: actions/checkout@v4
5757
with:
5858
submodules: recursive
5959
fetch-depth: 0
@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ubuntu-latest
9191
steps:
9292
- name: 🤘 checkout
93-
uses: actions/checkout@v2
93+
uses: actions/checkout@v4
9494
with:
9595
submodules: recursive
9696
fetch-depth: 0

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github_token: ${{ secrets.GITHUB_TOKEN }}
1818

1919
- name: 🤘 checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
ref: main

.github/workflows/dotnet-file.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525

2626
- name: 🤘 checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
ref: main
3131
token: ${{ env.GH_TOKEN }}
3232

3333
- name: ⌛ rate
3434
shell: pwsh
35+
if: github.event_name != 'workflow_dispatch'
3536
run: |
3637
# add random sleep since we run on fixed schedule
3738
sleep (get-random -max 60)
@@ -70,7 +71,7 @@ jobs:
7071
validate: false
7172

7273
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
74+
uses: peter-evans/create-pull-request@v6
7475
with:
7576
base: main
7677
branch: dotnet-file-sync

.github/workflows/includes.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222

2323
- name: 🤘 checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
with:
2626
token: ${{ env.GH_TOKEN }}
2727

2828
- name: +Mᐁ includes
2929
uses: devlooped/actions-includes@v1
3030

3131
- name: ✍ pull request
32-
uses: peter-evans/create-pull-request@v4
32+
uses: peter-evans/create-pull-request@v6
3333
with:
34+
add-paths: '**/*.md'
3435
base: main
3536
branch: markdown-includes
3637
delete-branch: true

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: 🤘 checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
submodules: recursive
2525
fetch-depth: 0

.github/workflows/sponsor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: 🤘 checkout
1717
if: env.token != ''
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: 💜 sponsor
2121
if: env.token != ''

.netconfig

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,28 @@
3838
weak
3939
[file ".github/workflows/build.yml"]
4040
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
41-
sha = 97ebd189e44da857e53e4d98af2727dd9dcb0740
42-
etag = f02775f5cdf8ba06238500e56bc25ca1e0aa329db4931f230c45bd1d7de1696d
41+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
42+
etag = 6efc7d096b25bb4bbeffe7960a1194f1ceb5d21abeda85d28b55594b648ab44a
4343
weak
4444
[file ".github/workflows/changelog.yml"]
4545
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
46-
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
47-
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
46+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
47+
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
4848
weak
4949
[file ".github/workflows/dotnet-file.yml"]
5050
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
51-
sha = f08c3f28e46e28eb31e70846d65e57aa9553ce56
52-
etag = 567444486383d032c1c5fbc538f07e860f92b1d08c66ac6ffb1db64ca539251c
51+
sha = 7afe350f7e80a230e922db026d4e1198ba15cae1
52+
etag = 65e9794df6caff779eb989c8f71ddf4d4109b24a75af79e4f8d0fe6ba7bd9702
5353
weak
5454
[file ".github/workflows/includes.yml"]
5555
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
56-
sha = ac753b791d03997eb655efb26ae141b51addd1c0
57-
etag = fcd94a08ac9ebc0e8351deac4e7f085cf8ef67816cc50006e068f44166096eb8
56+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
57+
etag = e5ee22e115c925fb85ec931cda3ac811fcc453c03904554fa3f573935b221d34
5858
weak
5959
[file ".github/workflows/publish.yml"]
6060
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
61-
sha = 97ebd189e44da857e53e4d98af2727dd9dcb0740
62-
etag = 04a0796e61476765c0a233806e85fb3f461d7cf099a14c91e6c5abcab938062f
61+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
62+
etag = 9ea4083894308a610742488923d2a44778ebba6ca73fb13424647d9a82c918b4
6363
weak
6464
[file ".github/workflows/test/action.yml"]
6565
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
@@ -93,13 +93,13 @@
9393
weak
9494
[file "src/Directory.Build.props"]
9595
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
96-
sha = b1d14c6379e5820eb2c30e08bedbdf6e9c8e8cb2
97-
etag = 33cd19e0f599f444c320406da3452e9e84d28c3bb13c09e9190d9d2e7f129545
96+
sha = 6e96c592c7b44bfda10404b9f90e4b8fab299249
97+
etag = a4925eb815bbcecc022de8d3245db069573d96ac5ecdf5f0e604f06b5577b01e
9898
weak
9999
[file "src/Directory.Build.targets"]
100100
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
101-
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
102-
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
101+
sha = 5801de0d7994a2ed43dcdc37564ed594d17ed076
102+
etag = fa2d4bd0aebb490175654f3735b6dc37a88a145f14152f314d12ed2e61cce435
103103
weak
104104
[file "src/kzu.snk"]
105105
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
@@ -108,8 +108,8 @@
108108
weak
109109
[file "src/nuget.config"]
110110
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
111-
sha = b2fa09bd9db6de89e37a8ba6705b5659e435dafd
112-
etag = eb2d09e546aa1e11c0b464d9ed6ab2d3c028a1d86c3ac40a318053625fb72819
111+
sha = 0d911c2aa865d2f774917a02da51a9ed3d0d2b56
112+
etag = e279911631ae6fa45ba6bd980d0674fc5a95d5793493425ff8ce4a8f2407a213
113113
weak
114114
[file ".github/workflows/combine-prs.yml"]
115115
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
@@ -128,6 +128,6 @@
128128
weak
129129
[file ".github/workflows/sponsor.yml"]
130130
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
131-
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
132-
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
131+
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
132+
etag = 0849ee61af6daee29615f9632173b4e82da5bfa9d78ff28907e9408bd5acde4d
133133
weak

readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,12 @@ respectively.
272272
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
273273
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
274274
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
275+
[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
275276
[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel)
276277
[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
277278
[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
278279
[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99)
279280
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1)
280-
[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn)
281-
[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb)
282281
[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies)
283282
[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni)
284283
[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey)
@@ -295,7 +294,9 @@ respectively.
295294
[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex)
296295
[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly)
297296
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
298-
[![Georg Jung](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/georg-jung.png "Georg Jung")](https://github.com/georg-jung)
297+
[![Michael Staib](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/michaelstaib.png "Michael Staib")](https://github.com/michaelstaib)
298+
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
299+
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
299300
300301

301302
<!-- sponsors.md -->

src/Directory.Build.props

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@
142142
<ProjectProperty Include="PublicKeyToken" />
143143
</ItemGroup>
144144

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+
145151
<Import Project="Directory.props" Condition="Exists('Directory.props')"/>
146152
<Import Project="Directory.props.user" Condition="Exists('Directory.props.user')" />
153+
154+
<!-- Implemented by SDK in .targets, guaranteeing it's overwritten. Added here since we add a DependsOnTargets to it.
155+
Covers backwards compatiblity with non-SDK projects. -->
156+
<Target Name="InitializeSourceControlInformation" />
147157
</Project>

src/Directory.Build.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@
115115
</EmbeddedResource>
116116
</ItemGroup>
117117

118+
<ItemGroup Label="Sponsors">
119+
<!-- Funding.GitHub.[sponsorable] = PublicKey -->
120+
<AssemblyMetadata Include="Funding.GitHub.devlooped" Value="MIIBigKCAYEA5inhv8QymaDBOihNi1eY+6+hcIB5qSONFZxbxxXAyOtxAdjFCPM+94gIZqM9CDrX3pyg1lTJfml/a/FZSU9dB1ii5mSX/mNHBFXn1/l/gi1ErdbkIF5YbW6oxWFxf3G5mwVXwnPfxHTyQdmWQ3YJR+A3EB4kaFwLqA6Ha5lb2ObGpMTQJNakD4oTAGDhqHMGhu6PupGq5ie4qZcQ7N8ANw8xH7nicTkbqEhQABHWOTmLBWq5f5F6RYGF8P7cl0IWl/w4YcIZkGm2vX2fi26F9F60cU1v13GZEVDTXpJ9kzvYeM9sYk6fWaoyY2jhE51qbv0B0u6hScZiLREtm3n7ClJbIGXhkUppFS2JlNaX3rgQ6t+4LK8gUTyLt3zDs2H8OZyCwlCpfmGmdsUMkm1xX6t2r+95U3zywynxoWZfjBCJf41leM9OMKYwNWZ6LQMyo83HWw1PBIrX4ZLClFwqBcSYsXDyT8/ZLd1cdYmPfmtllIXxZhLClwT5qbCWv73VAgMBAAE=" />
121+
</ItemGroup>
122+
118123
<Target Name="IsPackable" Returns="@(IsPackable)">
119124
<ItemGroup>
120125
<IsPackable Include="$(MSBuildProjectFullPath)" IsPackable="$(IsPackable)" PackageId="$(PackageId)" />

0 commit comments

Comments
 (0)