Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# devlooped/oss

- Add copylocal behavior when merging assemblies devlooped/oss@7cda4a1
- Add our implementation of JWT manifest reading and reporting devlooped/oss@a0ae727
- Add nullable and generated code annotations devlooped/oss@b2a11fa
- 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
- Minimal docs on consuming devlooped/oss@827a1d1
- Update .editorconfig devlooped/oss@2981836
- Ignore test analyzer rules recursively. devlooped/oss@fd5b554
- Ignore primary ctor parameter in tests, usually used for testoutput helper devlooped/oss@c779d3d
- Update dependabot.yml with some default groupings devlooped/oss@cba10bb
- Add System.IdentityModel group devlooped/oss@e7d18ae
- Add MS.IdentityModel to identity group devlooped/oss@14d1868
- Exclude System.IdentityModel from System group devlooped/oss@35ca3f3
- Fix dependabot group for tests devlooped/oss@49661db
- Use a better CI version number devlooped/oss@1ec6385
- Don't run analyzers/codefixers in format devlooped/oss@543f7da
- Parallelize format to speed up build devlooped/oss@13d67e2
- Ignore sponsorlink sources in formatting devlooped/oss@f571a42
- 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 to checkout@v4 devlooped/oss@5fb1723
- 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
- Update .gitignore with JetBrains private folder devlooped/oss@9dff0bd
- Ignore app root folder too devlooped/oss@b87a8a7
- Add .sass-cache to ignores devlooped/oss@d65f9c7
- Move .sass-cache down alongside other jekyll folders devlooped/oss@551d4e0
- Ignore azure functions local settings devlooped/oss@4bd7025
- Update .gitignore with BenchmarkDotNet artifacts default path devlooped/oss@e20e906
- Remove whitespace and add results to ignore devlooped/oss@ef852e7
- Only ignore App folder directly under the root devlooped/oss@02811fa
- Only override VersionPrefix if it has no value devlooped/oss@28a27ba
- Allow extending build with local-only files devlooped/oss@6ae80a1
- Honor the PackReadme=false property devlooped/oss@1bf1eac
- NoTargets/Traversal SDKs now support central package versions too devlooped/oss@afca922
- Enable floating versions for central packages by default devlooped/oss@b1d14c6
- Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f
- Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59
- Fix incremental build issue with package files and doc file devlooped/oss@96b6773
- When using EnableRexCodeGenerator, this should Just Work devlooped/oss@c7235d7
- Enable VSCode/Razor compat when using resxcode generator devlooped/oss@1514d15
- Append missing trailing path to directory for icon/readme devlooped/oss@5cec43d
- Add common sponsors metadata to assemblies devlooped/oss@0789bf0
- Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0
- SponsorLink metadata will be opt-in only by analyzer projects devlooped/oss@c618ea8
- Fix action repo name devlooped/oss@ac753b7
- Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757
- Only commit markdown files when resolving includes devlooped/oss@2c10a83
- Add attribution to upstream and note on regex devlooped/oss@c161088
- Note docs updates separately, always ignore dependencies devlooped/oss@42bfdd2
- Add techdebt label to excludes from release config devlooped/oss@1afd173

# clarius/pages

- Run bundle install as sudo to avoid errors clarius/pages@afcb042
  • Loading branch information
devlooped-bot authored and kzu committed Jun 13, 2024
1 parent 4a39aa1 commit b6e2820
Show file tree
Hide file tree
Showing 51 changed files with 2,745 additions and 65 deletions.
17 changes: 16 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error
dotnet_diagnostic.IDE0040.severity = error

[*.cs]
# Top-level files are definitely OK
csharp_using_directive_placement = outside_namespace:silent
csharp_style_namespace_declarations = block_scoped:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent

# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
Expand Down Expand Up @@ -89,9 +95,18 @@ csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

# Test settings
[**/*Tests*/*{.cs,.vb}]
[**/*Tests*/**{.cs,.vb}]
# xUnit1013: Public method should be marked as test. Allows using records as test classes
dotnet_diagnostic.xUnit1013.severity = none

# CS9113: Parameter is unread (usually, ITestOutputHelper)
dotnet_diagnostic.CS9113.severity = none

# Default severity for analyzer diagnostics with category 'Style'
dotnet_analyzer_diagnostic.category-Style.severity = none

# VSTHRD200: Use "Async" suffix for async methods
dotnet_diagnostic.VSTHRD200.severity = none

[**/*SponsorLink*/**]
generated_code = true
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,34 @@ updates:
directory: /
schedule:
interval: daily
groups:
Azure:
patterns:
- "Azure*"
- "Microsoft.Azure*"
Identity:
patterns:
- "System.IdentityModel*"
- "Microsoft.IdentityModel*"
System:
patterns:
- "System*"
exclude-patterns:
- "System.IdentityModel*"
Extensions:
patterns:
- "Microsoft.Extensions*"
Web:
patterns:
- "Microsoft.AspNetCore*"
Tests:
patterns:
- "Microsoft.NET.Test*"
- "xunit*"
- "coverlet*"
ThisAssembly:
patterns:
- "ThisAssembly*"
ProtoBuf:
patterns:
- "protobuf-*"
7 changes: 7 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ changelog:
- wontfix
- need info
- docs
- techdebt
authors:
- devlooped-bot
- dependabot
Expand All @@ -20,6 +21,12 @@ changelog:
- title: 🐛 Fixed bugs
labels:
- bug
- title: 📝 Documentation updates
labels:
- docs
- title: 🔨 Other
labels:
- '*'
exclude:
labels:
- dependencies
28 changes: 19 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ on:

env:
DOTNET_NOLOGO: true

VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
PackOnBuild: true
GeneratePackageOnBuild: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}

defaults:
run:
shell: bash
Expand All @@ -29,7 +34,7 @@ jobs:
matrix: ${{ steps.lookup.outputs.matrix }}
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 lookup
id: lookup
Expand All @@ -48,13 +53,13 @@ jobs:
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: 🙏 build
run: dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
run: dotnet build -m:1 -bl:build.binlog

- name: ⚙ GNU grep
if: matrix.os == 'macOS-latest'
Expand All @@ -65,8 +70,12 @@ jobs:
- name: 🧪 test
uses: ./.github/workflows/test

- name: 📦 pack
run: dotnet pack -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
- name: 🐛 logs
uses: actions/upload-artifact@v3
if: runner.debug && always()
with:
name: logs
path: '*.binlog'

# Only push CI package to sleet feed if building on ubuntu (fastest)
- name: 🚀 sleet
Expand All @@ -79,13 +88,14 @@ jobs:
dotnet-format:
runs-on: ubuntu-latest
needs: build
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: ✓ ensure format
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget
run: |
dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/combine-prs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Source: https://github.com/hrvey/combine-prs-workflow
# Tweaks: regex support for branch

name: '⛙ combine-prs'

on:
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
const branch = pull['head']['ref'];
console.log('Pull for branch: ' + branch);
if (branchRegExp.test(branch)) {
console.log('Branch matched prefix: ' + branch);
console.log('Branch matched: ' + branch);
let statusOK = true;
if(${{ github.event.inputs.mustBeGreen }}) {
console.log('Checking green status: ' + branch);
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dotnet-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
token: ${{ env.GH_TOKEN }}

- name: ⌛ rate
shell: pwsh
if: github.event_name != 'workflow_dispatch'
run: |
# add random sleep since we run on fixed schedule
sleep (get-random -max 60)
Expand Down Expand Up @@ -70,7 +71,7 @@ jobs:
validate: false

- name: ✍ pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
base: main
branch: dotnet-file-sync
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ env.GH_TOKEN }}

- name: +Mᐁ includes
uses: devlooped/actions-include@v1
uses: devlooped/actions-includes@v1

- name: ✍ pull request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
add-paths: '**/*.md'
base: main
branch: markdown-includes
delete-branch: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: ⚙ jekyll
run: |
sudo gem install bundler
bundle install
sudo bundle install
- name: 🖉 default repo
if: env.PAGES_REPOSITORY == ''
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,32 @@ on:
env:
DOTNET_NOLOGO: true
Configuration: Release

PackOnBuild: true
GeneratePackageOnBuild: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

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

- name: 🧪 test
uses: ./.github/workflows/test

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

- name: 🚀 nuget
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
2 changes: 1 addition & 1 deletion .github/workflows/sponsor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: 🤘 checkout
if: env.token != ''
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 💜 sponsor
if: env.token != ''
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ obj
artifacts
pack
TestResults
results
BenchmarkDotNet.Artifacts
/app
.vs
.vscode
.idea
local.settings.json

*.suo
*.sdf
Expand All @@ -29,5 +34,6 @@ node_modules
_site
.jekyll-metadata
.jekyll-cache
.sass-cache
Gemfile.lock
package-lock.json
Loading

0 comments on commit b6e2820

Please sign in to comment.