Skip to content

Commit 8fca28a

Browse files
committed
A few more tweaks
1 parent bba1ab3 commit 8fca28a

File tree

2 files changed

+36
-38
lines changed

2 files changed

+36
-38
lines changed

.github/workflows/build-and-test.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name: 'build & test'
2-
3-
on:
1+
name: 'build & test'
2+
3+
on:
44
pull_request:
5-
branches: [ main ]
6-
push:
7-
branches: [ main ]
8-
paths:
9-
- '**Dockerfile'
10-
- '**.json'
11-
- '**.cs'
12-
- '**.csproj'
13-
- '**.sln'
14-
15-
env:
16-
DOTNET_VERSION: '8.0.x' # SDK version
17-
18-
jobs:
19-
build:
20-
21-
runs-on: ubuntu-latest
22-
23-
steps:
24-
- uses: actions/checkout@main
25-
- name: Setup .NET
26-
uses: actions/setup-dotnet@main
27-
with:
28-
dotnet-version: ${{ env.DOTNET_VERSION }}
29-
30-
- name: Install dependencies
31-
run: dotnet restore
32-
33-
- name: Build
34-
run: dotnet build --no-restore
35-
36-
- name: Test
37-
run: dotnet test --no-restore --verbosity normal
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
paths:
9+
- '**Dockerfile'
10+
- '**.json'
11+
- '**.cs'
12+
- '**.csproj'
13+
- '**.sln'
14+
15+
env:
16+
DOTNET_VERSION: '8.0.x' # SDK version
17+
18+
jobs:
19+
build:
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@main
25+
- name: Setup .NET
26+
uses: actions/setup-dotnet@main
27+
with:
28+
dotnet-version: ${{ env.DOTNET_VERSION }}
29+
30+
- name: Install dependencies
31+
run: dotnet restore
32+
33+
- name: Build
34+
run: dotnet build --no-restore
35+
36+
- name: Test
37+
run: dotnet test --no-restore --verbosity normal

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,8 @@ jobs:
6464
dotnet build ./src/DotNet.Extensions/DotNet.Extensions.csproj --configuration Release
6565
dotnet build ./src/DotNet.GitHub/DotNet.GitHub.csproj --configuration Release
6666
dotnet build ./src/DotNet.GitHubActions/DotNet.GitHubActions.csproj --configuration Release
67-
dotnet build ./src/DotNet.IO/DotNet.IO.csproj --configuration Release
6867
dotnet build ./src/DotNet.Models/DotNet.Models.csproj --configuration Release
6968
dotnet build ./src/DotNet.Releases/DotNet.Releases.csproj --configuration Release
70-
dotnet build ./src/DotNet.Reporter/DotNet.Reporter.csproj --configuration Release
7169
dotnet build ./src/DotNet.VersionSweeper/DotNet.VersionSweeper.csproj --configuration Release
7270
7371
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)