From 45a3019101300aa3214144f3624f817b27f0651e Mon Sep 17 00:00:00 2001 From: "internalautomation[bot]" <85681268+internalautomation[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 00:07:46 +0000 Subject: [PATCH] GitHubSync update - release-2.0 --- .github/workflows/code-analysis.yml | 11 +++++++++++ .github/workflows/nuget-audit.yml | 16 +++------------- 2 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/code-analysis.yml diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml new file mode 100644 index 00000000..3102d475 --- /dev/null +++ b/.github/workflows/code-analysis.yml @@ -0,0 +1,11 @@ +name: Code Analysis +on: + push: + branches: + - main + - master + - release-* + workflow_dispatch: +jobs: + code-analysis: + uses: particular/shared-workflows/.github/workflows/code-analysis.yml@main diff --git a/.github/workflows/nuget-audit.yml b/.github/workflows/nuget-audit.yml index 2b9c6c9e..5480ce13 100644 --- a/.github/workflows/nuget-audit.yml +++ b/.github/workflows/nuget-audit.yml @@ -4,16 +4,6 @@ on: env: DOTNET_NOLOGO: true jobs: - build: - name: Linux - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4.2.2 - - name: Setup .NET SDK - uses: actions/setup-dotnet@v4.1.0 - with: - global-json-file: global.json - - name: Restore - id: restore - run: dotnet restore src + call-shared-nuget-audit: + uses: particular/shared-workflows/.github/workflows/nuget-audit.yml@main + secrets: inherit