Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-13, ubuntu-latest]
os: [windows-2022, ubuntu-24.04]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
Expand Down Expand Up @@ -57,8 +57,7 @@ jobs:
3.1
5.0
6.0
7.0
8.0
9.0

- name: Cache Tools
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
Expand All @@ -67,12 +66,12 @@ jobs:
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

- name: Build project
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3
with:
script-path: recipe.cake
target: CI
verbosity: Diagnostic
cake-version: 1.3.0
cake-version: tool-manifest

# currently, Cake.Recipe does not upload artifacts when run on gh-actions
- name: Upload Issues
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
6.0
7.0
8.0
9.0

- name: Cache Tools
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
Expand All @@ -46,11 +47,11 @@ jobs:
languages: ${{ matrix.language }}

- name: Build project
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
uses: cake-build/cake-action@5167c3f6a9e15c76f009de2acdfb9488552bc0b9 # v3
with:
script-path: recipe.cake
target: DotNetCore-Build
cake-version: 1.3.0
cake-version: tool-manifest

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.403",
"version": "9.0.300",
"rollForward": "latestFeature"
}
}
}
8 changes: 6 additions & 2 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ BuildParameters.SetParameters(
twitterMessage: standardNotificationMessage,
shouldRunCodecov: false,
preferredBuildProviderType: BuildProviderType.GitHubActions,
preferredBuildAgentOperatingSystem: PlatformFamily.Linux);
preferredBuildAgentOperatingSystem: PlatformFamily.Linux,
shouldUseTargetFrameworkPath: false);

BuildParameters.PrintParameters(Context);

ToolSettings.SetToolPreprocessorDirectives(
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0");
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.18.0",
gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0",
reportGeneratorGlobalTool: "#tool dotnet:?package=dotnet-reportgenerator-globaltool&version=5.4.7",
coverallsGlobalTool: "#tool dotnet:?package=coveralls.net&version=4.0.1");

ToolSettings.SetToolSettings(context: Context);

Expand Down
Loading