Skip to content

Commit

Permalink
Switch to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ww898 committed Jan 23, 2024
1 parent 133b07e commit c20b52f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
dotnet-version: |
3.1.x
7.0.x
8.0.x
- name: Restore
working-directory: ${{ github.workspace }}/net
run: dotnet restore
Expand Down Expand Up @@ -58,10 +58,10 @@ jobs:
- name: Setup .NET SDK, Restore, Build and Tests under QEMU ${{ matrix.arch }}
run: >
docker run --rm -v "${{ github.workspace }}:/work" --platform linux/${{ matrix.arch }} ${{ matrix.arch }}/fedora:39 /bin/bash -c " \
dnf install -y dotnet-sdk-7.0 && \
dnf install -y dotnet-sdk-8.0 && \
cd /work/net && \
dotnet restore && \
dotnet test -f net7.0 --configuration Release --no-restore --verbosity normal --logger 'trx;LogFilePrefix=test-results' && \
dotnet test -f net8.0 --configuration Release --no-restore --verbosity normal --logger 'trx;LogFilePrefix=test-results' && \
true"
- name: Upload test results
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
run: dotnet restore
- name: Build and Tests
working-directory: ${{ github.workspace }}/net
run: dotnet test -f net7.0 --configuration Release --no-restore --verbosity normal --logger 'trx;LogFilePrefix=test-results'
run: dotnet test -f net8.0 --configuration Release --no-restore --verbosity normal --logger 'trx;LogFilePrefix=test-results'
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net35;netcoreapp3.1;net7.0</TargetFrameworks>
<TargetFrameworks>net35;netcoreapp3.1;net8.0</TargetFrameworks>
<RootNamespace>JetBrains.FormatRipper.Tests</RootNamespace>
<Nullable>enable</Nullable>
<SignAssembly>true</SignAssembly>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1;net7.0</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp3.1;net8.0</TargetFrameworks>
<RootNamespace>JetBrains.SignatureVerifier.Tests</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
Expand Down

0 comments on commit c20b52f

Please sign in to comment.