Update dependency Microsoft.NET.Test.Sdk to v17 #309
This file contains 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
# This file is auto-generated. | |
name: Main | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: 0 0 * * 6 | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: windows-2019 | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_NOLOGO: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.x | |
- name: NuGet cache | |
uses: actions/cache@v4 | |
with: | |
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.fsproj') }} | |
path: ${{ env.NUGET_PACKAGES }} | |
- name: Build | |
run: dotnet build | |
- name: Test | |
run: dotnet test | |
timeout-minutes: 10 | |
encoding: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Verify encoding | |
shell: pwsh | |
run: scripts/Test-Encoding.ps1 | |
licenses: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: REUSE license check | |
uses: fsfe/reuse-action@v4 |