Skip to content

Commit d3acd5e

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Add nullable and generated code annotations devlooped/oss@b2a11fa - Minimal docs on consuming devlooped/oss@827a1d1 - Add copylocal behavior when merging assemblies devlooped/oss@7cda4a1 - Add our implementation of JWT manifest reading and reporting devlooped/oss@a0ae727 - Integrate more seamlessly with the existing workflows devlooped/oss@e732f6a - Simplify and unify manifest reading implementation devlooped/oss@4fca946 - Whitespace and formatting devlooped/oss@d74f511 - Add @ before account, unify es messages devlooped/oss@1c7fd8d - Bump to renamed tool devlooped/oss@b8fd87b - Update to checkout@v4 devlooped/oss@5fb1723 - Fix dependabot group for tests devlooped/oss@49661db - 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 - Ignore sponsorlink sources in formatting devlooped/oss@f571a42 - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2 - Cleanup build and publish to use VersionLabel devlooped/oss@14deaea - 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 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Only ignore App folder directly under the root devlooped/oss@02811fa
1 parent ead977c commit d3acd5e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2621
-58
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ dotnet_analyzer_diagnostic.category-Style.severity = none
107107

108108
# VSTHRD200: Use "Async" suffix for async methods
109109
dotnet_diagnostic.VSTHRD200.severity = none
110+
111+
[**/*SponsorLink*/**]
112+
generated_code = true

.github/dependabot.yml

+1-1
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/build.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ on:
1717

1818
env:
1919
DOTNET_NOLOGO: true
20+
PackOnBuild: true
21+
GeneratePackageOnBuild: true
2022
VersionPrefix: 42.42.${{ github.run_number }}
2123
VersionLabel: ${{ github.ref }}
22-
24+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
25+
2326
defaults:
2427
run:
2528
shell: bash
@@ -31,7 +34,7 @@ jobs:
3134
matrix: ${{ steps.lookup.outputs.matrix }}
3235
steps:
3336
- name: 🤘 checkout
34-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
3538

3639
- name: 🔎 lookup
3740
id: lookup
@@ -50,7 +53,7 @@ jobs:
5053
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
5154
steps:
5255
- name: 🤘 checkout
53-
uses: actions/checkout@v2
56+
uses: actions/checkout@v4
5457
with:
5558
submodules: recursive
5659
fetch-depth: 0
@@ -67,8 +70,12 @@ jobs:
6770
- name: 🧪 test
6871
uses: ./.github/workflows/test
6972

70-
- name: 📦 pack
71-
run: dotnet pack -m:1 -bl:pack.binlog
73+
- name: 🐛 logs
74+
uses: actions/upload-artifact@v3
75+
if: runner.debug && always()
76+
with:
77+
name: logs
78+
path: '*.binlog'
7279

7380
# Only push CI package to sleet feed if building on ubuntu (fastest)
7481
- name: 🚀 sleet
@@ -79,18 +86,11 @@ jobs:
7986
dotnet tool install -g --version 4.0.18 sleet
8087
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
8188
82-
- name: 🐛 logs
83-
uses: actions/upload-artifact@v3
84-
if: runner.debug && always()
85-
with:
86-
name: logs
87-
path: '*.binlog'
88-
8989
dotnet-format:
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

+1-1
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

+3-2
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

+3-2
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

+11-10
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,33 @@ on:
1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
13-
13+
PackOnBuild: true
14+
GeneratePackageOnBuild: true
15+
VersionLabel: ${{ github.ref }}
16+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
17+
1418
jobs:
1519
publish:
1620
runs-on: ubuntu-latest
1721
steps:
1822
- name: 🤘 checkout
19-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2024
with:
2125
submodules: recursive
2226
fetch-depth: 0
2327

2428
- name: 🙏 build
25-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
29+
run: dotnet build -m:1 -bl:build.binlog
2630

2731
- name: 🧪 test
2832
uses: ./.github/workflows/test
2933

30-
- name: 📦 pack
31-
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:pack.binlog
32-
33-
- name: 🚀 nuget
34-
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
35-
3634
- name: 🐛 logs
3735
uses: actions/upload-artifact@v3
3836
if: runner.debug && always()
3937
with:
4038
name: logs
41-
path: '*.binlog'
39+
path: '*.binlog'
40+
41+
- name: 🚀 nuget
42+
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

.github/workflows/sponsor.yml

+1-1
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 != ''

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
bin
2-
app
32
obj
43
artifacts
54
pack
65
TestResults
76
results
87
BenchmarkDotNet.Artifacts
8+
/app
99
.vs
1010
.vscode
1111
.idea

0 commit comments

Comments
 (0)