build: Upgrade to .NET 8 in ci, docs, and build

spectre-console-remove-di-hacks
Robert Dailey 6 months ago
parent 7dbcc6b8f7
commit 8d6a5984fe

@ -30,7 +30,7 @@ jobs:
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 7.0.x dotnet-version: 8.0.x
- name: Restore - name: Restore
run: dotnet restore src run: dotnet restore src
@ -55,7 +55,7 @@ jobs:
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v3
with: with:
dotnet-version: 7.0.x dotnet-version: 8.0.x
- name: Install Resharper Tools - name: Install Resharper Tools
run: dotnet tool install -g JetBrains.ReSharper.GlobalTools run: dotnet tool install -g JetBrains.ReSharper.GlobalTools

@ -14,7 +14,7 @@ on:
type: boolean type: boolean
env: env:
dotnetVersion: "7.0.x" dotnetVersion: 8.0.x
jobs: jobs:
build: build:

@ -13,7 +13,7 @@ on:
- "src/**" - "src/**"
env: env:
dotnetVersion: "7.0.x" dotnetVersion: 8.0.x
jobs: jobs:
sonarcloud: sonarcloud:

@ -6,11 +6,11 @@
"type": "coreclr", "type": "coreclr",
"request": "launch", "request": "launch",
"preLaunchTask": "build", "preLaunchTask": "build",
"program": "${workspaceFolder}/src/Recyclarr.Cli/bin/Debug/net7.0/recyclarr", "program": "${workspaceFolder}/src/Recyclarr.Cli/bin/Debug/net8.0/recyclarr",
"args": [ "args": [
"radarr" "radarr"
], ],
"cwd": "${workspaceFolder}/src/Recyclarr.Cli/bin/Debug/net7.0/", "cwd": "${workspaceFolder}/src/Recyclarr.Cli/bin/Debug/net8.0/",
"stopAtEntry": false, "stopAtEntry": false,
"console": "internalConsole" "console": "internalConsole"
} }

@ -24,7 +24,7 @@ that everyone should follow.
The following tools are required: The following tools are required:
- .NET SDK 7.0 and tooling (e.g. `dotnet`) - .NET SDK 8.0 and tooling (e.g. `dotnet`)
- Powershell v5.1 or greater - Powershell v5.1 or greater
- Docker CLI (Docker Desktop on Windows) - Docker CLI (Docker Desktop on Windows)

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine as base FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine as base
FROM base AS base-arm FROM base AS base-arm
ENV RUNTIME=linux-musl-arm ENV RUNTIME=linux-musl-arm

@ -1,6 +1,6 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<WarningLevel>9999</WarningLevel> <WarningLevel>9999</WarningLevel>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>

Loading…
Cancel
Save