Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55fa5fe

Browse files
committedFeb 17, 2024·
chore: Upgrade to dotnet 8
1 parent 049f91c commit 55fa5fe

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
 

‎.github/workflows/check_updates.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: denoland/setup-deno@v1
2323
- uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: "7.0.x"
25+
dotnet-version: "8.0.x"
2626

2727
- name: Run script
2828
run: |

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: denoland/setup-deno@v1
2020
- uses: actions/setup-dotnet@v1
2121
with:
22-
dotnet-version: "7.0.x"
22+
dotnet-version: "8.0.x"
2323

2424
- name: Build (Debug)
2525
run: dotnet build DprintPluginRoslyn
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Package
4444
run: |
45-
RELEASE_DIR=$GITHUB_WORKSPACE/DprintPluginRoslyn/bin/Release/net7.0
45+
RELEASE_DIR=$GITHUB_WORKSPACE/DprintPluginRoslyn/bin/Release/net8.0
4646
# cd to each output directory so we only include its files
4747
cd $RELEASE_DIR/osx-x64
4848
zip -r ../../../../../dprint-plugin-roslyn-x86_64-apple-darwin.zip ./*

‎DprintPluginRoslyn.Tests/DprintPluginRoslyn.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

‎DprintPluginRoslyn/DprintPluginRoslyn.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>Dprint.Plugins.Roslyn</RootNamespace>
77
<AssemblyName>dprint-plugin-roslyn</AssemblyName>
88
<Nullable>enable</Nullable>

‎test/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ mod test {
189189

190190
async fn new_communicator() -> ProcessPluginCommunicator {
191191
let exe_path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
192-
.join("../DprintPluginRoslyn/bin/Debug/net7.0/")
192+
.join("../DprintPluginRoslyn/bin/Debug/net8.0/")
193193
.join(if cfg!(windows) { "dprint-plugin-roslyn.exe" } else { "dprint-plugin-roslyn" });
194194
ProcessPluginCommunicator::new(&exe_path, |err| eprintln!("{}", err)).await.unwrap()
195195
}

0 commit comments

Comments
 (0)
Please sign in to comment.