Skip to content

Commit

Permalink
ci: Add .NET 9 build actions (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Nov 16, 2024
1 parent 75b9e9c commit 9833468
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Normalize line endings.
* text=lf
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
dotnet-version: "9.x"
dotnet-quality: "ga"

- name: Setup GitVersion
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test-indicators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
dotnet-version: ["9.x"]
# TODO: restore when runners have 9.x on all
# TODO: restore when GitHub Action runners
# have .NET 9.x SDK default installed
# ["2.1.x", "6.x", "9.x"]

env:

# identifying primary configuration so only one reports coverage
IS_PRIMARY: ${{ matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '9.x' }}

# .NET SDK versions in the matrix that support `ga` quality spec
# versions before 5.x do not support it
# .NET SDK versions in the matrix that support
# `dotnet-quality: 'ga'`, not supported before 5.x
SUPPORT_GA: ${{ contains(fromJson('["6.x", "9.x"]'), matrix.dotnet-version) }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: dotnet-new
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
dotnet-version: "9.x"
dotnet-quality: "ga"

- name: Build library
Expand Down

0 comments on commit 9833468

Please sign in to comment.