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 @@ diff --git a/examples/StegoBlazorApp/Properties/launchSettings.json b/examples/StegoBlazorApp/Properties/launchSettings.json index b80d81a..fb9e78a 100644 --- a/examples/StegoBlazorApp/Properties/launchSettings.json +++ b/examples/StegoBlazorApp/Properties/launchSettings.json @@ -1,28 +1,28 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:14315", - "sslPort": 0 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5051", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:14315", + "sslPort": 0 + } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5051", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } } - } -} +} \ No newline at end of file diff --git a/examples/StegoBlazorApp/appsettings.Development.json b/examples/StegoBlazorApp/appsettings.Development.json index f042c67..f9ddcf6 100644 --- a/examples/StegoBlazorApp/appsettings.Development.json +++ b/examples/StegoBlazorApp/appsettings.Development.json @@ -1,9 +1,9 @@ { - "DetailedErrors": true, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } } - } -} +} \ No newline at end of file diff --git a/examples/StegoBlazorApp/appsettings.json b/examples/StegoBlazorApp/appsettings.json index 4d56694..f53d119 100644 --- a/examples/StegoBlazorApp/appsettings.json +++ b/examples/StegoBlazorApp/appsettings.json @@ -1,9 +1,9 @@ { - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} \ No newline at end of file