Skip to content

Update dependency xunit.runner.visualstudio to v3 #716

Update dependency xunit.runner.visualstudio to v3

Update dependency xunit.runner.visualstudio to v3 #716

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Emulsion contributors <https://github.com/codingteam/emulsion>
#
# SPDX-License-Identifier: MIT
name: Main
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * 6'
jobs:
main:
runs-on: ${{ matrix.environment }}
strategy:
matrix:
environment:
- macos-14
- ubuntu-24.04
- windows-2022
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 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: 8.0.x
- name: NuGet cache
uses: actions/cache@v4
with:
path: ${{ env.NUGET_PACKAGES }}
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.*proj') }}
- name: Build
run: dotnet build
- name: Test
run: dotnet test
timeout-minutes: 10
encoding:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Verify encoding
shell: pwsh
run: scripts/Test-Encoding.ps1
licenses:
runs-on: ubuntu-24.04
steps:
- name: Check out the sources
uses: actions/checkout@v4
- name: REUSE license check
uses: fsfe/reuse-action@v5