From 25028f15e99a034294ebd875e667565fc49d509b Mon Sep 17 00:00:00 2001 From: Rafael Miranda Date: Fri, 16 Aug 2024 14:19:13 +0100 Subject: [PATCH 1/3] chore: update solution dependencies --- samples/Sample.Cap.Mongo/Sample.Cap.Mongo.csproj | 6 +++--- samples/Sample.Cap.SqlServer/Sample.Cap.SqlServer.csproj | 6 +++--- src/Directory.Packages.props | 8 ++++---- tests/Directory.Packages.props | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/samples/Sample.Cap.Mongo/Sample.Cap.Mongo.csproj b/samples/Sample.Cap.Mongo/Sample.Cap.Mongo.csproj index 833dd33..f5f9aa1 100644 --- a/samples/Sample.Cap.Mongo/Sample.Cap.Mongo.csproj +++ b/samples/Sample.Cap.Mongo/Sample.Cap.Mongo.csproj @@ -7,9 +7,9 @@ - - - + + + diff --git a/samples/Sample.Cap.SqlServer/Sample.Cap.SqlServer.csproj b/samples/Sample.Cap.SqlServer/Sample.Cap.SqlServer.csproj index 3c2aef1..d977514 100644 --- a/samples/Sample.Cap.SqlServer/Sample.Cap.SqlServer.csproj +++ b/samples/Sample.Cap.SqlServer/Sample.Cap.SqlServer.csproj @@ -5,9 +5,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 5a26df1..10175d3 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -3,11 +3,11 @@ true - - + + - - + + \ No newline at end of file diff --git a/tests/Directory.Packages.props b/tests/Directory.Packages.props index bfe1bb3..e187983 100644 --- a/tests/Directory.Packages.props +++ b/tests/Directory.Packages.props @@ -8,13 +8,13 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + \ No newline at end of file From 211065c447ce513f74b10e72f989e44b9efac948 Mon Sep 17 00:00:00 2001 From: Rafael Miranda Date: Fri, 16 Aug 2024 16:25:15 +0100 Subject: [PATCH 2/3] ci: use docker compose instead of docker-compose --- .github/workflows/ci.yml | 4 ++-- .github/workflows/evaluate-pr.yml | 4 ++-- docker-compose.yml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11beb89..eb0ed10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,5 +31,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | - docker-compose up -d mongoclustersetup sqlserver - ./scripts/start-sonarcloud.sh ${{ secrets.SONAR_TOKEN }} ${{ github.sha }} + docker compose up -d mongoclustersetup sqlserver + ./scripts/start-sonarcloud.sh ${{ secrets.SONAR_TOKEN }} ${{ github.sha }} \ No newline at end of file diff --git a/.github/workflows/evaluate-pr.yml b/.github/workflows/evaluate-pr.yml index 945a3a1..c4fafba 100644 --- a/.github/workflows/evaluate-pr.yml +++ b/.github/workflows/evaluate-pr.yml @@ -30,11 +30,11 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - docker-compose up -d mongoclustersetup sqlserver + docker compose up -d mongoclustersetup sqlserver ./scripts/start-sonarcloud.sh ${{ secrets.SONAR_TOKEN }} ${{ github.sha }} - name: Build the project and run all tests if: github.event.pull_request.head.repo.full_name != github.repository run: | - docker-compose up -d mongoclustersetup sqlserver + docker compose up -d mongoclustersetup sqlserver dotnet build ./scripts/start-tests.sh \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 71255b3..632b5cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: "3.9" services: sqlserver: container_name: sql_server @@ -64,4 +63,4 @@ services: networks: mongoCluster: - driver: bridge + driver: bridge \ No newline at end of file From da25df7a78e2fccb6db792f0de49fabe99fe5eb6 Mon Sep 17 00:00:00 2001 From: Rafael Miranda Date: Fri, 16 Aug 2024 16:27:46 +0100 Subject: [PATCH 3/3] chore: add dependabot --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..66096cc --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" + time: "08:00" + day: "sunday" + target-branch: "main" + reviewers: + - "rafaelpadovezi" \ No newline at end of file