imporved examples for Data type #13
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: Build & Test | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore Funk/Funk.csproj | |
| - name: Build library | |
| run: dotnet build Funk/Funk.csproj --no-restore --configuration Release -warnaserror | |
| - name: Restore test dependencies | |
| run: dotnet restore Funk.Tests/Funk.Tests.csproj | |
| - name: Build tests | |
| run: dotnet build Funk.Tests/Funk.Tests.csproj --no-restore --configuration Release | |
| - name: Run tests | |
| run: dotnet test Funk.Tests/Funk.Tests.csproj --no-build --configuration Release --verbosity normal |