diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6732822064..b8f4476d53 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -29,7 +29,7 @@ updates: patterns: - "*" - package-ecosystem: nuget - directory: /src/NewRelic.Core + directory: /build schedule: interval: weekly groups: @@ -37,24 +37,33 @@ updates: patterns: - "*" - package-ecosystem: nuget - directory: /build + directory: /src/Agent/MsiInstaller schedule: interval: weekly groups: nuget: patterns: - "*" + # Update a specific set of packages for integration tests - package-ecosystem: nuget - directory: /src/Agent/MsiInstaller + directory: /tests/Agent/IntegrationTests schedule: interval: weekly groups: nuget: patterns: - "*" - # Update a specific set of packages in the `tests` folder + allow: + - dependency-name: "coverlet.collector" + - dependency-name: "Microsoft.NET.Test.Sdk" + - dependency-name: "Microsoft.VisualStudio.Azure.Containers.Tools.Targets" + - dependency-name: "Microsoft.VisualStudio.Threading.Analyzers" + - dependency-name: "NUnit*" + - dependency-name: "Selenium*" + - dependency-name: "xunit*" + # Update a specific set of packages for unit tests (which are referenced in FullAgent.sln) - package-ecosystem: nuget - directory: /tests + directory: / schedule: interval: weekly groups: @@ -62,10 +71,11 @@ updates: patterns: - "*" allow: - - dependency-name: "xunit*" - - dependency-name: "NUnit*" - dependency-name: "coverlet.collector" + - dependency-name: "JustMock" - dependency-name: "Microsoft.NET.Test.Sdk" - dependency-name: "Microsoft.VisualStudio.Azure.Containers.Tools.Targets" - dependency-name: "Microsoft.VisualStudio.Threading.Analyzers" + - dependency-name: "NUnit*" - dependency-name: "Selenium*" + - dependency-name: "xunit*" diff --git a/.github/workflows/all_solutions.yml b/.github/workflows/all_solutions.yml index 9b36246ff4..cf157e840d 100644 --- a/.github/workflows/all_solutions.yml +++ b/.github/workflows/all_solutions.yml @@ -71,7 +71,7 @@ jobs: shell: powershell - name: Archive FullAgent Home folders - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: homefolders path: | @@ -115,7 +115,7 @@ jobs: shell: powershell - name: Archive msi _build Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: msi-build-folder-artifacts path: ${{ github.workspace }}\src\_build @@ -160,7 +160,7 @@ jobs: shell: powershell - name: Archive Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: integrationtests path: | @@ -198,7 +198,7 @@ jobs: shell: powershell - name: Archive Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: unboundedintegrationtests path: | @@ -362,7 +362,7 @@ jobs: - name: Archive integration test results on failure if: ${{ failure() }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: integration-test-results-${{ matrix.namespace }} path: | @@ -495,7 +495,7 @@ jobs: - name: Archive unbounded test results on failure if: ${{ failure() }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: unbounded-test-working-directory-${{ matrix.namespace }} path: | @@ -565,7 +565,7 @@ jobs: shell: bash - name: Archive RPM Package Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: rpm-build-artifacts path: ${{ github.workspace }}/src/_build/CoreArtifacts @@ -618,7 +618,7 @@ jobs: shell: bash - name: Archive Debian Package Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: debian-build-artifacts path: ${{ github.workspace }}/src/_build/CoreArtifacts @@ -673,7 +673,7 @@ jobs: shell: powershell - name: Archive Deploy Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: deploy-artifacts path: | diff --git a/.github/workflows/build_profiler.yml b/.github/workflows/build_profiler.yml index 819b40a99e..7633f4bde6 100644 --- a/.github/workflows/build_profiler.yml +++ b/.github/workflows/build_profiler.yml @@ -116,14 +116,14 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Archive Build Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: profiler-windows path: ${{ github.workspace }}\src\Agent\_profilerBuild\**\* if-no-files-found: error - name: Archive Code Coverage Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: profiler-code-coverage path: | @@ -176,7 +176,7 @@ jobs: shell: bash - name: Archive Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: profiler-amd64 path: ${{ github.workspace }}/src/Agent/_profilerBuild/ @@ -248,7 +248,7 @@ jobs: shell: bash - name: Archive Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: profiler-arm64 path: ${{ github.workspace }}/src/Agent/_profilerBuild/ diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8be3990b13..e72ecb91a0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -49,7 +49,7 @@ jobs: fetch-depth: 0 - name: Initialize CodeQL - uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: languages: csharp @@ -59,7 +59,7 @@ jobs: shell: powershell - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: category: "/language:csharp" @@ -84,7 +84,7 @@ jobs: fetch-depth: 0 - name: Initialize CodeQL - uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: languages: c-cpp @@ -100,6 +100,6 @@ jobs: shell: powershell - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: category: "/language:c-cpp" diff --git a/.github/workflows/deploy_agent.yml b/.github/workflows/deploy_agent.yml index a3adfbdc55..49956933fe 100644 --- a/.github/workflows/deploy_agent.yml +++ b/.github/workflows/deploy_agent.yml @@ -170,7 +170,7 @@ jobs: repository: ${{ github.repository }} - name: Upload Deploy Artifacts Locally - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: deploy-artifacts path: ${{ github.workspace }} diff --git a/.github/workflows/multiverse_run.yml b/.github/workflows/multiverse_run.yml index bf2aa92a7f..ab1392e909 100644 --- a/.github/workflows/multiverse_run.yml +++ b/.github/workflows/multiverse_run.yml @@ -73,7 +73,7 @@ jobs: shell: bash - name: Upload MVS - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: mvs path: | diff --git a/.github/workflows/run_integration_tests.yml b/.github/workflows/run_integration_tests.yml index 0dcbea5e16..66927cf4a9 100644 --- a/.github/workflows/run_integration_tests.yml +++ b/.github/workflows/run_integration_tests.yml @@ -190,7 +190,7 @@ jobs: - name: Archive integration test results on failure if: ${{ failure() }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: integration-test-working-directory-${{ matrix.namespace }} path: | @@ -313,7 +313,7 @@ jobs: - name: Archive unbounded test results on failure if: ${{ failure() }} - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: unbounded-test-working-directory-${{ matrix.namespace }} path: | diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 0bcd8a186f..005c214958 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -61,7 +61,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage report artifact - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: UnitTestResults # Artifact name path: ${{ env.test_results_path }} # Directory containing files to upload diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5d311b3f29..7d4259aa62 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -65,7 +65,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: SARIF file path: results.sarif @@ -73,6 +73,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15 + uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 with: sarif_file: results.sarif diff --git a/.github/workflows/siteextension_release.yml b/.github/workflows/siteextension_release.yml index 27b94d5c40..9b414a2e70 100644 --- a/.github/workflows/siteextension_release.yml +++ b/.github/workflows/siteextension_release.yml @@ -55,7 +55,7 @@ jobs: shell: powershell - name: Archive Deploy Artifacts - uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: deploy-artifacts path: | diff --git a/tests/Agent/Benchmarking/BenchmarkingTests/BenchmarkingTests.csproj b/tests/Agent/Benchmarking/BenchmarkingTests/BenchmarkingTests.csproj index 316c89d98d..4e73430bb1 100644 --- a/tests/Agent/Benchmarking/BenchmarkingTests/BenchmarkingTests.csproj +++ b/tests/Agent/Benchmarking/BenchmarkingTests/BenchmarkingTests.csproj @@ -22,7 +22,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Agent/IntegrationTests/IntegrationTestHelpers/IntegrationTestHelpers.csproj b/tests/Agent/IntegrationTests/IntegrationTestHelpers/IntegrationTestHelpers.csproj index 2f2491f31e..9c7cc2a8a8 100644 --- a/tests/Agent/IntegrationTests/IntegrationTestHelpers/IntegrationTestHelpers.csproj +++ b/tests/Agent/IntegrationTests/IntegrationTestHelpers/IntegrationTestHelpers.csproj @@ -11,8 +11,8 @@ - - + + diff --git a/tests/Agent/Shared/TestSerializationHelpers.Test/TestSerializationHelpers.Test.csproj b/tests/Agent/Shared/TestSerializationHelpers.Test/TestSerializationHelpers.Test.csproj index dc8dad7021..97f1a0ba6b 100644 --- a/tests/Agent/Shared/TestSerializationHelpers.Test/TestSerializationHelpers.Test.csproj +++ b/tests/Agent/Shared/TestSerializationHelpers.Test/TestSerializationHelpers.Test.csproj @@ -11,9 +11,9 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + all diff --git a/tests/Agent/UnitTests/AsyncLocalTests/AsyncLocalTests.csproj b/tests/Agent/UnitTests/AsyncLocalTests/AsyncLocalTests.csproj index 772a732a3b..d6ec8422cc 100644 --- a/tests/Agent/UnitTests/AsyncLocalTests/AsyncLocalTests.csproj +++ b/tests/Agent/UnitTests/AsyncLocalTests/AsyncLocalTests.csproj @@ -19,7 +19,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Agent/UnitTests/CompositeTests/CompositeTests.csproj b/tests/Agent/UnitTests/CompositeTests/CompositeTests.csproj index 9812a1a99c..365c54f3f9 100644 --- a/tests/Agent/UnitTests/CompositeTests/CompositeTests.csproj +++ b/tests/Agent/UnitTests/CompositeTests/CompositeTests.csproj @@ -21,7 +21,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj b/tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj index e15e5eb923..a4065587b0 100644 --- a/tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj +++ b/tests/Agent/UnitTests/Core.UnitTest/Core.UnitTest.csproj @@ -20,7 +20,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Agent/UnitTests/NewRelic.Agent.Extensions.Tests/NewRelic.Agent.Extensions.Tests.csproj b/tests/Agent/UnitTests/NewRelic.Agent.Extensions.Tests/NewRelic.Agent.Extensions.Tests.csproj index fdcc419e94..45d407041e 100644 --- a/tests/Agent/UnitTests/NewRelic.Agent.Extensions.Tests/NewRelic.Agent.Extensions.Tests.csproj +++ b/tests/Agent/UnitTests/NewRelic.Agent.Extensions.Tests/NewRelic.Agent.Extensions.Tests.csproj @@ -18,7 +18,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Agent/UnitTests/NewRelic.Testing.Assertions.UnitTests/NewRelic.Testing.Assertions.UnitTests.csproj b/tests/Agent/UnitTests/NewRelic.Testing.Assertions.UnitTests/NewRelic.Testing.Assertions.UnitTests.csproj index 4fc9bce220..a332e124eb 100644 --- a/tests/Agent/UnitTests/NewRelic.Testing.Assertions.UnitTests/NewRelic.Testing.Assertions.UnitTests.csproj +++ b/tests/Agent/UnitTests/NewRelic.Testing.Assertions.UnitTests/NewRelic.Testing.Assertions.UnitTests.csproj @@ -28,7 +28,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all