Skip to content

Commit 461c23f

Browse files
renovate[bot]renovate-botsbellone
authored
chore(deps): update mcr.microsoft.com/dotnet/sdk docker tag to v6 (#798)
* chore(deps): update mcr.microsoft.com/dotnet/sdk docker tag to v6 * dotnet format is now built-in and --check has been renamed * update tests's TargetFramework Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Sylvain Bellone <[email protected]>
1 parent bc397d2 commit 461c23f

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.circleci/config.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ orbs:
66
jobs:
77
format:
88
docker:
9-
- image: mcr.microsoft.com/dotnet/sdk:5.0
9+
- image: mcr.microsoft.com/dotnet/sdk:6.0
1010
steps:
1111
- checkout
12-
- run:
13-
name: "Install dotnet-format subcommand"
14-
command: |
15-
dotnet tool install -g dotnet-format
1612
- run:
1713
name: "Check the formatting of the project"
1814
command: |
1915
export PATH="$PATH:/root/.dotnet/tools"
20-
dotnet format --check src/
16+
dotnet format --verify-no-changes src/
2117
build:
2218
docker:
23-
- image: mcr.microsoft.com/dotnet/sdk:5.0
19+
- image: mcr.microsoft.com/dotnet/sdk:6.0
2420
steps:
2521
- checkout
2622
- run:
@@ -29,7 +25,7 @@ jobs:
2925
dotnet build --configuration release src/
3026
test:
3127
docker:
32-
- image: mcr.microsoft.com/dotnet/sdk:5.0
28+
- image: mcr.microsoft.com/dotnet/sdk:6.0
3329
steps:
3430
- checkout
3531
- run:
@@ -38,7 +34,7 @@ jobs:
3834
dotnet test --configuration release src/Algolia.Search.Test
3935
release:
4036
docker:
41-
- image: mcr.microsoft.com/dotnet/sdk:5.0
37+
- image: mcr.microsoft.com/dotnet/sdk:6.0
4238
steps:
4339
- checkout
4440
- run:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:3.1
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0
22

33
WORKDIR /app
44
ADD . /app/

src/Algolia.Search.Test/Algolia.Search.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)