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