Skip to content

Commit eba35c1

Browse files
committed
Add workflow, bump tests
1 parent 6144c23 commit eba35c1

File tree

2 files changed

+39
-8
lines changed

2 files changed

+39
-8
lines changed

.github/workflows/pr.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Pull Request
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
name: Checkout
15+
- uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: '8.0'
18+
- run: dotnet test
19+
20+
dependency-review:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
name: Checkout
25+
- uses: actions/dependency-review-action@v4
26+
name: Dependency Review
27+
with:
28+
allow-licenses: MIT, Apache-2.0, BSD-2-Clause
29+
fail-on-scopes: development, runtime, unknown

AuthenticodeLintTests/AuthenticodeLintTests.csproj

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0</TargetFrameworks>
4-
<AssemblyName>AuthenticodeLint.Tests</AssemblyName>
5-
<PackageId>AuthenticodeLint.Tests</PackageId>
6-
<VersionPrefix>0.1.0</VersionPrefix>
7-
<Authors>Kevin Jones</Authors>
8-
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
4+
<IsPackable>false</IsPackable>
5+
<OutputType>Exe</OutputType>
96
</PropertyGroup>
10-
<ItemGroup>
117

8+
<ItemGroup>
129
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
13-
<PackageReference Include="xunit" Version="2.9.3" />
14-
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" />
10+
<PackageReference Include="xunit.v3" Version="2.0.0" />
11+
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
12+
<PrivateAssets>all</PrivateAssets>
13+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
14+
</PackageReference>
15+
</ItemGroup>
1516

17+
<ItemGroup>
1618
<ProjectReference Include="..\AuthenticodeLint\AuthenticodeLint.csproj" />
1719
</ItemGroup>
1820
<ItemGroup>

0 commit comments

Comments
 (0)