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 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 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