From b5a692a710219d67cd5249a11d1129caf7c94c34 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 10 Nov 2022 08:28:29 -0600 Subject: [PATCH] build: Upgrade to .NET 7.0 --- .github/workflows/build.yml | 2 +- .github/workflows/inspect-code.yml | 4 ++-- .github/workflows/markdown-lint.yml | 2 +- .github/workflows/sonarcloud.yml | 2 +- CONTRIBUTING.md | 2 +- docker/Dockerfile | 2 +- src/.idea/.idea.Recyclarr/.idea/riderMarkupCache.xml | 6 ++++++ src/Directory.Build.props | 2 +- 8 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 src/.idea/.idea.Recyclarr/.idea/riderMarkupCache.xml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4fdf5d0..47e840e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ on: - "ci/**" env: - dotnetVersion: "6.0.x" + dotnetVersion: "7.0.x" jobs: test: diff --git a/.github/workflows/inspect-code.yml b/.github/workflows/inspect-code.yml index 6c90a99a..57740e58 100644 --- a/.github/workflows/inspect-code.yml +++ b/.github/workflows/inspect-code.yml @@ -30,7 +30,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Restore run: dotnet restore src @@ -55,7 +55,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Install Resharper Tools run: dotnet tool install -g JetBrains.ReSharper.GlobalTools diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index e53a00fd..8331caaf 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -12,7 +12,7 @@ on: - .github/workflows/markdown-lint.yml env: - dotnetVersion: "6.0.x" + dotnetVersion: "7.0.x" jobs: markdownlint: diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 5b2a5687..64fe46ad 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -10,7 +10,7 @@ on: - "src/**" env: - dotnetVersion: "6.0.x" + dotnetVersion: "7.0.x" jobs: sonarcloud: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e4af419..6839075a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ that everyone should follow. The following tools are required: -- .NET SDK 6.0 and tooling (e.g. `dotnet`) +- .NET SDK 7.0 and tooling (e.g. `dotnet`) - Powershell v5.1 or greater - Docker CLI (Docker Desktop on Windows) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1450eec5..1b8ed8e5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build WORKDIR /build diff --git a/src/.idea/.idea.Recyclarr/.idea/riderMarkupCache.xml b/src/.idea/.idea.Recyclarr/.idea/riderMarkupCache.xml new file mode 100644 index 00000000..3a174183 --- /dev/null +++ b/src/.idea/.idea.Recyclarr/.idea/riderMarkupCache.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 31e8cf58..2e269c9c 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,6 +1,6 @@ - net6.0 + net7.0 latestmajor enable 9999