Build(deps): Bump xunit.runner.visualstudio from 2.8.2 to 3.0.0 #367
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
# SPDX-FileCopyrightText: 2024 tdsharp contributors <https://github.com/egramtel/tdsharp> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Main | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * 6' # every Saturday | |
jobs: | |
main: | |
runs-on: ${{ matrix.image }} | |
strategy: | |
matrix: | |
image: | |
- macos-latest # AArch64 | |
- macos-13 # x86-64 | |
- ubuntu-latest | |
- windows-latest | |
fail-fast: false | |
env: | |
DOTNET_NOLOGO: 1 | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: NuGet cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ env.NUGET_PACKAGES }} | |
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.csproj', '**/*.fsproj') }} | |
- name: Set up .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Test | |
run: dotnet test --configuration Release | |
licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: REUSE license check | |
uses: fsfe/reuse-action@v4 |