Skip to content

xunit/xunit#2123: Analyzer to convert Assert.Collection to Assert.Single #101

xunit/xunit#2123: Analyzer to convert Assert.Collection to Assert.Single

xunit/xunit#2123: Analyzer to convert Assert.Collection to Assert.Single #101

Workflow file for this run

name: xUnit.net Analyzers PR Build
on:
- pull_request
- workflow_dispatch
jobs:
build:
name: "Build"
runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
strategy:
fail-fast: false
matrix:
os: [windows-2022, ubuntu-22.04, macOS-12]
steps:
- name: Clone source
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Replace global.json
run: cp .github/workflows/.global.json global.json
shell: bash
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
- name: Get .NET information
run: dotnet --info
- name: Get Mono information
run: mono --version
if: ${{ matrix.os != 'windows-2022' }}
- name: "Build target: BuildAll"
run: dotnet run --project tools/builder --no-launch-profile -- BuildAll
- name: "Upload artifact: test-${{ matrix.os }}"
uses: actions/upload-artifact@v3.1.1
with:
name: test-${{ matrix.os }}
path: artifacts/test
if: always()