Skip to content

Commit 457eb66

Browse files
GitHubSync update - main
1 parent 80892d9 commit 457eb66

File tree

3 files changed

+32
-13
lines changed

3 files changed

+32
-13
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Code Analysis
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- master
7+
- release-*
8+
workflow_dispatch:
9+
jobs:
10+
code-analysis:
11+
uses: particular/shared-workflows/.github/workflows/code-analysis.yml@main

.github/workflows/nuget-audit.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ on:
44
env:
55
DOTNET_NOLOGO: true
66
jobs:
7-
build:
8-
name: Linux
9-
runs-on: ubuntu-22.04
10-
steps:
11-
- name: Checkout
12-
uses: actions/[email protected]
13-
- name: Setup .NET SDK
14-
uses: actions/[email protected]
15-
with:
16-
global-json-file: global.json
17-
- name: Restore
18-
id: restore
19-
run: dotnet restore src
7+
call-shared-nuget-audit:
8+
uses: particular/shared-workflows/.github/workflows/nuget-audit.yml@main
9+
secrets: inherit

nuget.config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5+
<add key="particular packages" value="https://f.feedz.io/particular-software/packages/nuget/index.json" />
6+
</packageSources>
7+
<packageSourceMapping>
8+
<packageSource key="nuget.org">
9+
<package pattern="*" />
10+
</packageSource>
11+
<packageSource key="particular packages">
12+
<package pattern="*" />
13+
</packageSource>
14+
<packageSource key="local packages">
15+
<package pattern="*" />
16+
</packageSource>
17+
</packageSourceMapping>
18+
</configuration>

0 commit comments

Comments
 (0)