Skip to content

Commit 85e4e1f

Browse files
committed
Format yml files
1 parent 4484ff2 commit 85e4e1f

File tree

5 files changed

+165
-165
lines changed

5 files changed

+165
-165
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
github: [RehanSaeed]
22
open_collective: dotnet-boxed
33
patreon: rehansaeed
4-
custom: ['https://paypal.me/MuhammadRehanSaeed']
4+
custom: ["https://paypal.me/MuhammadRehanSaeed"]

.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/orgs/Dotnet-Boxed/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/Dotnet-Boxed/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?q=Boxed
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: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# The branches below must be a subset of the branches above
1313
branches: [main]
1414
schedule:
15-
- cron: '0 0 * * 6'
15+
- cron: "0 0 * * 6"
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
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
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)