Skip to content

Commit 94c053a

Browse files
authored
Merge pull request #24 from rameel/formatting
Formatting and clean up
2 parents d39399c + cd3a4a0 commit 94c053a

File tree

10 files changed

+1047
-1045
lines changed

10 files changed

+1047
-1045
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
name: Publish
2-
3-
on:
4-
push:
5-
tags:
6-
- "[0-9]+.[0-9]+.[0-9]+"
7-
- "[0-9]+.[0-9]+.[0-9]+-[a-z]+.[0-9]+"
8-
9-
jobs:
10-
publish:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v4
14-
15-
- name: Setup .NET
16-
uses: actions/setup-dotnet@v4
17-
with:
18-
dotnet-version: 9.0.x
19-
20-
- name: Restore
21-
run: dotnet restore
22-
23-
- name: Build
24-
run: dotnet build -c Release --no-restore
25-
26-
- name: Pack
27-
run: dotnet pack -c Release -o ./nuget --no-build
28-
29-
- name: Publish
30-
run: dotnet nuget push ./nuget/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate -s https://api.nuget.org/v3/index.json
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- "[0-9]+.[0-9]+.[0-9]+"
7+
- "[0-9]+.[0-9]+.[0-9]+-[a-z]+.[0-9]+"
8+
9+
jobs:
10+
publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v4
15+
with:
16+
dotnet-version: 9.0.x
17+
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Build
22+
run: dotnet build -c Release
23+
24+
- name: Pack
25+
run: dotnet pack -c Release -o ./nuget --no-build
26+
27+
- name: Publish
28+
run: dotnet nuget push ./nuget/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate -s https://api.nuget.org/v3/index.json

.github/workflows/test.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build & Test
1+
name: Build & Test
22

33
on:
44
pull_request:
@@ -14,18 +14,22 @@ jobs:
1414
os: [ubuntu-latest, windows-latest]
1515

1616
steps:
17-
- uses: actions/checkout@v4
18-
1917
- name: Setup .NET
2018
uses: actions/setup-dotnet@v4
2119
with:
2220
dotnet-version: 9.0.x
2321

24-
- name: Restore dependencies
25-
run: dotnet restore
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Build (Debug)
26+
run: dotnet build -c Debug
27+
28+
- name: Build (Release)
29+
run: dotnet build -c Release
2630

27-
- name: Build
28-
run: dotnet build -c Release --no-restore
31+
- name: Test (Debug)
32+
run: dotnet test -c Debug --no-build
2933

30-
- name: Test
31-
run: dotnet test --no-restore --verbosity normal
34+
- name: Test (Release)
35+
run: dotnet test -c Release --no-build

Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<Project>
2-
<PropertyGroup>
3-
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
4-
</PropertyGroup>
5-
</Project>
1+
<Project>
2+
<PropertyGroup>
3+
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
4+
</PropertyGroup>
5+
</Project>

Ramstack.Globbing.Tests/MatcherTests.cs

Lines changed: 423 additions & 423 deletions
Large diffs are not rendered by default.

Ramstack.Globbing.Tests/Traversal/FileTreeEnumerableTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Ramstack.Globbing.Traversal.Helpers;
1+
using Ramstack.Globbing.Traversal.Helpers;
22

33
namespace Ramstack.Globbing.Traversal;
44

Ramstack.Globbing.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.11.35017.193

0 commit comments

Comments
 (0)