Refactor: 将哈希算法实现移动至包 DotVast.Hashing, 并采用统一的接口 IHasher (#44) #63
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: Test | |
on: | |
push: | |
branches: [main] | |
paths: | |
- src/** | |
pull_request: | |
branches: [main] | |
paths: | |
- src/** | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
runs-on: | |
# For a list of available runner types, refer to https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Install the .NET Core workload: https://github.com/actions/setup-dotnet | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Execute unit tests | |
run: | | |
dotnet test ./src/DotVast.HashTool.WinUI.Core.Tests/DotVast.HashTool.WinUI.Core.Tests.csproj --configuration ${{ matrix.configuration }} |