Skip to content

Commit 477d3c4

Browse files
committed
Normalize workflow YAML indentation to spaces
1 parent 8cb1eb0 commit 477d3c4

2 files changed

Lines changed: 74 additions & 74 deletions

File tree

.github/workflows/ci.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,66 +2,66 @@ name: CI
22

33
on:
44
push:
5-
branches: [main]
6-
tags: ['[0-9]*.[0-9]*.[0-9]*']
5+
branches: [main]
6+
tags: ['[0-9]*.[0-9]*.[0-9]*']
77
pull_request:
8-
branches: [main]
8+
branches: [main]
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
1818

19-
- name: Setup .NET
20-
uses: actions/setup-dotnet@v4
21-
with:
22-
dotnet-version: 10.0.x
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: 10.0.x
2323

24-
- name: Restore
25-
run: dotnet restore
24+
- name: Restore
25+
run: dotnet restore
2626

27-
- name: Build
28-
run: dotnet build --configuration Release --no-restore
27+
- name: Build
28+
run: dotnet build --configuration Release --no-restore
2929

30-
- name: Test
31-
run: dotnet test --configuration Release --no-build --verbosity normal
30+
- name: Test
31+
run: dotnet test --configuration Release --no-build --verbosity normal
3232

33-
- name: Pack
34-
run: dotnet pack --configuration Release --no-build --output ./artifacts
33+
- name: Pack
34+
run: dotnet pack --configuration Release --no-build --output ./artifacts
3535

36-
- name: Upload artifacts
37-
uses: actions/upload-artifact@v4
38-
with:
39-
name: packages
40-
path: ./artifacts/*.nupkg
36+
- name: Upload artifacts
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: packages
40+
path: ./artifacts/*.nupkg
4141

4242
publish:
43-
needs: build
44-
runs-on: ubuntu-latest
45-
if: startsWith(github.ref, 'refs/tags/')
46-
permissions:
47-
id-token: write
48-
steps:
49-
- name: Download artifacts
50-
uses: actions/download-artifact@v4
51-
with:
52-
name: packages
53-
path: ./artifacts
43+
needs: build
44+
runs-on: ubuntu-latest
45+
if: startsWith(github.ref, 'refs/tags/')
46+
permissions:
47+
id-token: write
48+
steps:
49+
- name: Download artifacts
50+
uses: actions/download-artifact@v4
51+
with:
52+
name: packages
53+
path: ./artifacts
5454

55-
- name: Setup .NET
56-
uses: actions/setup-dotnet@v4
57-
with:
58-
dotnet-version: 10.0.x
55+
- name: Setup .NET
56+
uses: actions/setup-dotnet@v4
57+
with:
58+
dotnet-version: 10.0.x
5959

60-
- name: Login to NuGet
61-
id: login
62-
uses: NuGet/login@v1
63-
with:
64-
nuget-server-url: https://api.nuget.org/v3/index.json
60+
- name: Login to NuGet
61+
id: login
62+
uses: NuGet/login@v1
63+
with:
64+
nuget-server-url: https://api.nuget.org/v3/index.json
6565

66-
- name: Push to NuGet
67-
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
66+
- name: Push to NuGet
67+
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

.github/workflows/codeql.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "main" ]
88
schedule:
9-
- cron: '0 6 * * 1'
9+
- cron: '0 6 * * 1'
1010

1111
jobs:
1212
analyze:
13-
name: Analyze
14-
runs-on: ubuntu-latest
15-
permissions:
16-
actions: read
17-
contents: read
18-
security-events: write
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
1919

20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
language: [ 'csharp' ]
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ 'csharp' ]
2424

25-
steps:
26-
- name: Checkout repository
27-
uses: actions/checkout@v4
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
2828

29-
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
31-
with:
32-
languages: ${{ matrix.language }}
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v3
31+
with:
32+
languages: ${{ matrix.language }}
3333

34-
- name: Autobuild
35-
uses: github/codeql-action/autobuild@v3
34+
- name: Autobuild
35+
uses: github/codeql-action/autobuild@v3
3636

37-
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@v3
39-
with:
40-
category: "/language:${{ matrix.language }}"
37+
- name: Perform CodeQL Analysis
38+
uses: github/codeql-action/analyze@v3
39+
with:
40+
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)