Skip to content

Create Analyzer/Fixer for Assert.Single #157

Create Analyzer/Fixer for Assert.Single

Create Analyzer/Fixer for Assert.Single #157

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@v4
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@v4
with:
dotnet-version: |
8.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@v4
with:
name: test-${{ matrix.os }}
path: artifacts/test
compression-level: 9
if: always()