fix(cs): timer interval #53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: .NET Host Tests | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths: | |
| - 'hosts/dotnet/**' | |
| - 'engine/**' | |
| - '.github/workflows/dotnet-test.yml' | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths: | |
| - 'hosts/dotnet/**' | |
| - 'engine/**' | |
| - '.github/workflows/dotnet-test.yml' | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install WASI SDK | |
| uses: konsumer/install-wasi-sdk@v1 | |
| with: | |
| version: "27" | |
| - name: Setup Binaryen | |
| uses: ./.github/actions/setup-binaryen | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Setup WABT | |
| uses: ./.github/actions/setup-wabt | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 10.0.x | |
| 9.0.x | |
| dotnet-quality: 'preview' | |
| - name: Build engine | |
| working-directory: hosts/dotnet/scripts | |
| run: ./build-engine.sh | |
| - name: Restore solution | |
| working-directory: hosts/dotnet | |
| run: dotnet restore | |
| - name: Test Hako.Analyzers.Tests | |
| working-directory: hosts/dotnet/Hako.Analyzers.Tests | |
| run: dotnet test | |
| - name: Test Hako.SourceGenerator.Tests | |
| working-directory: hosts/dotnet/Hako.SourceGenerator.Tests | |
| run: dotnet test | |
| - name: Test Hako.Tests | |
| working-directory: hosts/dotnet/Hako.Tests | |
| run: dotnet test |