Skip to content

Commit de0063c

Browse files
committed
Bump .NET SDK from 5.0.301 to 5.0.401
1 parent c41258b commit de0063c

File tree

6 files changed

+192
-192
lines changed

6 files changed

+192
-192
lines changed

.github/release-drafter.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
name-template: 'Schema.NET $RESOLVED_VERSION'
2-
tag-template: '$RESOLVED_VERSION'
3-
change-template: '- $TITLE by @$AUTHOR (#$NUMBER)'
4-
no-changes-template: '- No changes'
1+
name-template: "Schema.NET $RESOLVED_VERSION"
2+
tag-template: "$RESOLVED_VERSION"
3+
change-template: "- $TITLE by @$AUTHOR (#$NUMBER)"
4+
no-changes-template: "- No changes"
55
categories:
6-
- title: '📚 Documentation'
6+
- title: "📚 Documentation"
77
labels:
8-
- 'documentation'
9-
- title: '🚀 New Features'
8+
- "documentation"
9+
- title: "🚀 New Features"
1010
labels:
11-
- 'enhancement'
12-
- title: '🐛 Bug Fixes'
11+
- "enhancement"
12+
- title: "🐛 Bug Fixes"
1313
labels:
14-
- 'bug'
15-
- title: '🧰 Maintenance'
14+
- "bug"
15+
- title: "🧰 Maintenance"
1616
labels:
17-
- 'maintenance'
17+
- "maintenance"
1818
version-resolver:
1919
major:
2020
labels:
21-
- 'major'
21+
- "major"
2222
minor:
2323
labels:
24-
- 'minor'
24+
- "minor"
2525
patch:
2626
labels:
27-
- 'patch'
27+
- "patch"
2828
default: patch
2929
template: |
3030
$CHANGES
@@ -33,16 +33,16 @@ template: |
3333
3434
$CONTRIBUTORS
3535
autolabeler:
36-
- label: 'documentation'
36+
- label: "documentation"
3737
files:
38-
- '**/*.md'
39-
- label: 'enhancement'
38+
- "**/*.md"
39+
- label: "enhancement"
4040
files:
41-
- 'Source/**/*'
42-
- 'Tools/**/*'
43-
- label: 'maintenance'
41+
- "Source/**/*"
42+
- "Tools/**/*"
43+
- label: "maintenance"
4444
files:
45-
- '.github/**/*'
46-
- 'Benchmarks/**/*'
47-
- 'Images/**/*'
48-
- 'Tests/**/*'
45+
- ".github/**/*"
46+
- "Benchmarks/**/*"
47+
- "Images/**/*"
48+
- "Tests/**/*"

.github/workflows/build.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,67 +28,67 @@ jobs:
2828
matrix:
2929
os: [ubuntu-latest, windows-latest, macOS-latest]
3030
steps:
31-
- name: 'Checkout'
32-
uses: actions/[email protected]
33-
with:
34-
lfs: true
35-
fetch-depth: 0
36-
- name: 'Install .NET Core SDK'
37-
uses: actions/[email protected]
38-
- name: 'Dotnet Tool Restore'
39-
run: dotnet tool restore
40-
shell: pwsh
41-
- name: 'Dotnet Cake Build'
42-
run: dotnet cake --target=Build
43-
shell: pwsh
44-
- name: 'Dotnet Cake Test'
45-
run: dotnet cake --target=Test
46-
shell: pwsh
47-
- name: 'Dotnet Cake Pack'
48-
run: dotnet cake --target=Pack
49-
shell: pwsh
50-
- name: 'Publish Artefacts'
51-
uses: actions/[email protected]
52-
with:
53-
name: ${{matrix.os}}
54-
path: './Artefacts'
31+
- name: "Checkout"
32+
uses: actions/[email protected]
33+
with:
34+
lfs: true
35+
fetch-depth: 0
36+
- name: "Install .NET Core SDK"
37+
uses: actions/[email protected]
38+
- name: "Dotnet Tool Restore"
39+
run: dotnet tool restore
40+
shell: pwsh
41+
- name: "Dotnet Cake Build"
42+
run: dotnet cake --target=Build
43+
shell: pwsh
44+
- name: "Dotnet Cake Test"
45+
run: dotnet cake --target=Test
46+
shell: pwsh
47+
- name: "Dotnet Cake Pack"
48+
run: dotnet cake --target=Pack
49+
shell: pwsh
50+
- name: "Publish Artefacts"
51+
uses: actions/[email protected]
52+
with:
53+
name: ${{matrix.os}}
54+
path: "./Artefacts"
5555

5656
push-github-packages:
57-
name: 'Push GitHub Packages'
57+
name: "Push GitHub Packages"
5858
needs: build
5959
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
6060
environment:
61-
name: 'GitHub Packages'
61+
name: "GitHub Packages"
6262
url: https://github.com/RehanSaeed/Schema.NET/packages
6363
permissions:
6464
packages: write
6565
runs-on: windows-latest
6666
steps:
67-
- name: 'Download Artefact'
67+
- name: "Download Artefact"
6868
uses: actions/download-artifact@v2
6969
with:
70-
name: 'windows-latest'
71-
- name: 'Dotnet NuGet Add Source'
70+
name: "windows-latest"
71+
- name: "Dotnet NuGet Add Source"
7272
run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
7373
shell: pwsh
74-
- name: 'Dotnet NuGet Push'
74+
- name: "Dotnet NuGet Push"
7575
run: dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
7676
shell: pwsh
7777

7878
push-nuget:
79-
name: 'Push NuGet Packages'
79+
name: "Push NuGet Packages"
8080
needs: build
8181
if: github.event_name == 'release'
8282
environment:
83-
name: 'NuGet'
83+
name: "NuGet"
8484
url: https://www.nuget.org/packages/Schema.NET
8585
runs-on: windows-latest
8686
steps:
87-
- name: 'Download Artefact'
87+
- name: "Download Artefact"
8888
uses: actions/download-artifact@v2
8989
with:
90-
name: 'windows-latest'
91-
- name: 'Dotnet NuGet Push'
90+
name: "windows-latest"
91+
- name: "Dotnet NuGet Push"
9292
run: |
9393
Get-ChildItem .\ -Filter *.nupkg |
9494
Where-Object { !$_.Name.Contains('preview') } |

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [ main ]
10+
branches: [main]
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [ main ]
13+
branches: [main]
1414
schedule:
15-
- cron: '0 7 * * 4'
15+
- cron: "0 7 * * 4"
1616
workflow_dispatch:
1717

1818
jobs:
@@ -27,40 +27,40 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
language: [ 'csharp' ]
30+
language: ["csharp"]
3131
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3232
# Learn more:
3333
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3434

3535
steps:
36-
- name: Checkout repository
37-
uses: actions/[email protected]
36+
- name: Checkout repository
37+
uses: actions/[email protected]
3838

39-
# Initializes the CodeQL tools for scanning.
40-
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v1
42-
with:
43-
languages: ${{ matrix.language }}
44-
# If you wish to specify custom queries, you can do so here or in a config file.
45-
# By default, queries listed here will override any specified in a config file.
46-
# Prefix the list here with "+" to use these queries and those in the config file.
47-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
39+
# Initializes the CodeQL tools for scanning.
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@v1
42+
with:
43+
languages: ${{ matrix.language }}
44+
# If you wish to specify custom queries, you can do so here or in a config file.
45+
# By default, queries listed here will override any specified in a config file.
46+
# Prefix the list here with "+" to use these queries and those in the config file.
47+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4848

49-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
50-
# If this step fails, then you should remove it and run the build manually (see below)
51-
- name: Autobuild
52-
uses: github/codeql-action/autobuild@v1
49+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
50+
# If this step fails, then you should remove it and run the build manually (see below)
51+
- name: Autobuild
52+
uses: github/codeql-action/autobuild@v1
5353

54-
# ℹ️ Command-line programs to run using the OS shell.
55-
# 📚 https://git.io/JvXDl
54+
# ℹ️ Command-line programs to run using the OS shell.
55+
# 📚 https://git.io/JvXDl
5656

57-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
58-
# and modify them (or add more) to build your code if your project
59-
# uses a compiled language
57+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
58+
# and modify them (or add more) to build your code if your project
59+
# uses a compiled language
6060

61-
#- run: |
62-
# make bootstrap
63-
# make release
61+
#- run: |
62+
# make bootstrap
63+
# make release
6464

65-
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v1
65+
- name: Perform CodeQL Analysis
66+
uses: github/codeql-action/analyze@v1

appveyor.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# AppVeyor documentation https://www.appveyor.com/docs
22

3-
version: '{build}'
3+
version: "{build}"
44

55
image:
6-
- macOS
7-
- Ubuntu
8-
- Visual Studio 2019
6+
- macOS
7+
- Ubuntu
8+
- Visual Studio 2019
99

1010
environment:
1111
# Disable the .NET logo in the console output.
@@ -18,36 +18,36 @@ environment:
1818
MINVERBUILDMETADATA: build.%APPVEYOR_BUILD_NUMBER%
1919

2020
build_script:
21-
# https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
22-
- pwsh: |
23-
if ($isWindows) {
24-
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
25-
./dotnet-install.ps1 -JSonFile global.json -InstallDir 'C:\Program Files\dotnet'
26-
}
27-
else {
28-
Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
29-
sudo chmod u+x dotnet-install.sh
30-
if ($isMacOS) {
31-
sudo ./dotnet-install.sh --jsonfile global.json --install-dir '/usr/local/share/dotnet'
32-
} else {
33-
sudo ./dotnet-install.sh --jsonfile global.json --install-dir '/usr/share/dotnet'
21+
# https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
22+
- pwsh: |
23+
if ($isWindows) {
24+
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
25+
./dotnet-install.ps1 -JSonFile global.json -InstallDir 'C:\Program Files\dotnet'
3426
}
35-
}
36-
- pwsh: dotnet tool restore --verbosity diagnostic
37-
- pwsh: dotnet cake --target=Build
38-
- pwsh: dotnet cake --target=Test
39-
- pwsh: dotnet cake --target=Pack
27+
else {
28+
Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
29+
sudo chmod u+x dotnet-install.sh
30+
if ($isMacOS) {
31+
sudo ./dotnet-install.sh --jsonfile global.json --install-dir '/usr/local/share/dotnet'
32+
} else {
33+
sudo ./dotnet-install.sh --jsonfile global.json --install-dir '/usr/share/dotnet'
34+
}
35+
}
36+
- pwsh: dotnet tool restore --verbosity diagnostic
37+
- pwsh: dotnet cake --target=Build
38+
- pwsh: dotnet cake --target=Test
39+
- pwsh: dotnet cake --target=Pack
4040

4141
test: off
4242

4343
artifacts:
44-
- name: NuGet Packages
45-
path: ./Artefacts/**/*.nupkg
46-
- name: NuGet Symbol Packages
47-
path: ./Artefacts/**/*.snupkg
48-
- name: xUnit XML Test Results
49-
path: ./Artefacts/**/*.xml
50-
- name: xUnit HTML Test Results
51-
path: ./Artefacts/**/*.html
52-
- name: Code Coverage
53-
path: ./Artefacts/**/*.cobertura.xml
44+
- name: NuGet Packages
45+
path: ./Artefacts/**/*.nupkg
46+
- name: NuGet Symbol Packages
47+
path: ./Artefacts/**/*.snupkg
48+
- name: xUnit XML Test Results
49+
path: ./Artefacts/**/*.xml
50+
- name: xUnit HTML Test Results
51+
path: ./Artefacts/**/*.html
52+
- name: Code Coverage
53+
path: ./Artefacts/**/*.cobertura.xml

0 commit comments

Comments
 (0)