diff --git a/.github/workflows/ci-build-and-test.yml b/.github/workflows/ci-build-and-test.yml
index f0b6ef5..2575193 100644
--- a/.github/workflows/ci-build-and-test.yml
+++ b/.github/workflows/ci-build-and-test.yml
@@ -1,10 +1,11 @@
+---
name: Build and Test
on:
push:
- branches: [ "master" ]
+ branches: ["master"]
pull_request:
- branches: [ "master" ]
+ branches: ["master"]
jobs:
build-and-test:
@@ -13,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
- - name: Setup .NET
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: 7.0.x
- - name: Restore dependencies
- run: dotnet restore
- - name: Build
- run: dotnet build --no-restore
- - name: Test
- run: dotnet test --no-build --verbosity normal
+ - uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: 7.0.x
+ - name: Restore dependencies
+ run: dotnet restore
+ - name: Build
+ run: dotnet build --no-restore
+ - name: Test
+ run: dotnet test --no-build --verbosity normal
diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
index dee7cab..0e8cad1 100644
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/linter.yml
@@ -1,10 +1,11 @@
+---
name: Lint Code
on:
push:
- branches: [ "master" ]
+ branches: ["master"]
pull_request:
- branches: [ "master" ]
+ branches: ["master"]
jobs:
run-lint:
runs-on: ubuntu-latest
@@ -12,13 +13,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
- # Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: true
- FILTER_REGEX_EXCLUDE: .*tests/.*|.*\.csproj|.*\.sln|.*\.min.css
+ FILTER_REGEX_EXCLUDE: .*tests/.*|.*\.csproj|.*\.sln|.*examples/.*
DEFAULT_BRANCH: "master"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/examples/StegoBlazorApp/Pages/Decode.razor b/examples/StegoBlazorApp/Pages/Decode.razor
index c2dc998..8ded922 100644
--- a/examples/StegoBlazorApp/Pages/Decode.razor
+++ b/examples/StegoBlazorApp/Pages/Decode.razor
@@ -67,4 +67,4 @@
// convert result to string
secret = System.Text.Encoding.UTF8.GetString(result);
}
-}
\ No newline at end of file
+}
diff --git a/examples/StegoBlazorApp/Pages/Embed.razor b/examples/StegoBlazorApp/Pages/Embed.razor
index aec25f0..75bc451 100644
--- a/examples/StegoBlazorApp/Pages/Embed.razor
+++ b/examples/StegoBlazorApp/Pages/Embed.razor
@@ -90,4 +90,4 @@
await JS.InvokeVoidAsync("downloadFileFromStream", "encrypted.png", streamRef);
}
-}
\ No newline at end of file
+}
diff --git a/examples/StegoBlazorApp/Pages/_Host.cshtml b/examples/StegoBlazorApp/Pages/_Host.cshtml
index 9d9c057..04dec12 100644
--- a/examples/StegoBlazorApp/Pages/_Host.cshtml
+++ b/examples/StegoBlazorApp/Pages/_Host.cshtml
@@ -31,17 +31,17 @@