Skip to content

Commit

Permalink
Additional fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Smółka committed Dec 22, 2022
1 parent 9bb2485 commit 4434801
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build

on: [push]
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
build:
Expand All @@ -9,7 +13,7 @@ jobs:

strategy:
matrix:
os: [windows-latest]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
Expand Down
2 changes: 0 additions & 2 deletions src/ZNetCS.AspNetCore.IPFiltering/OptionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public abstract class OptionBase
/// <summary>
/// Gets or sets the blacklist.
/// </summary>
[AllowNull]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Options serialization.")]
public ICollection<string>? Blacklist
{
Expand Down Expand Up @@ -79,7 +78,6 @@ public ICollection<string>? Blacklist
/// <summary>
/// Gets or sets the whitelist.
/// </summary>
[AllowNull]
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Options serialization.")]
public ICollection<string>? Whitelist
{
Expand Down

0 comments on commit 4434801

Please sign in to comment.