This repository contains the source code for HSTempoWasm, a Blazor WebAssembly interval/tempo finder.
- .NET SDK 10.0.100 or later supporting Blazor
The official instance of this application can be found at https://hstempo.hidekisaito.com.
Run with the following:
dotnet run --project HSTempoWasm/HSTempoWasm.csproj
A Dockerfile is provided for running this as a container.
Unit tests are located in the HSTempoWasm.Tests project. To run all tests:
dotnet test HSTempoWasm.Tests/HSTempoWasm.Tests.csproj
This repository uses a custom CodeQL analysis workflow. If you encounter issues, here are the common fixes:
Error: "CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled"
CRITICAL: This error means GitHub's default CodeQL setup is still enabled. You MUST disable it:
- Go to: https://github.com/hsaito/HSTempoWasm/settings/security_analysis
- Find: "Code scanning" section
- Look for: "CodeQL analysis" (should show "Default setup: Active")
- Click: "Configure" button next to CodeQL analysis
- Change: From "Default" to "Advanced"
- Confirm: The change (this disables default setup)
- Re-run: Your GitHub Actions workflow
- After the change, the CodeQL section should show "Advanced setup: Active"
- The custom workflow should then work without upload errors
If you can't change settings immediately, you can:
- Rename
codeql-alternative.yml.disabledtocodeql-alternative.yml - Disable the main
codeql-analysis.ymltemporarily - Use manual trigger: Actions → CodeQL Analysis (Alternative) → Run workflow
This is a permissions issue. Ensure that:
-
Actions permissions are set correctly:
- Go to Settings → Actions → General
- Under "Workflow permissions", select Read and write permissions
- Check Allow GitHub Actions to create and approve pull requests
-
Code security permissions are enabled:
- Go to Settings → Code security and analysis
- Ensure Code scanning alerts are enabled
-
Repository visibility: Code scanning works better with public repositories or GitHub Advanced Security enabled for private repositories.
The workflow has been updated to use CodeQL Action v3 (the latest version) with enhanced permissions.
This repository is licensed under the MIT license.