Skip to content

Bump the dotnet group across 1 directory with 20 updates #555

Bump the dotnet group across 1 directory with 20 updates

Bump the dotnet group across 1 directory with 20 updates #555

name: Build docs-verifier
on: [pull_request]
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
configuration: [debug, release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@main
with:
dotnet-version: '8.0.x'
- name: Try get cached dependencies
uses: actions/cache@main
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Validate dependencies
run: dotnet restore actions/docs-verifier --locked-mode --packages ${{ github.workspace }}/.nuget/packages
- name: Build
run: dotnet msbuild actions/docs-verifier -noLogo -m -p:Configuration=${{ matrix.configuration }} -warnaserror -bl:artifacts/log/build.binlog
- name: Test
run: dotnet test actions/docs-verifier
- name: Upload Results
uses: actions/upload-artifact@main
with:
name: ${{ matrix.os }}_${{ matrix.configuration }}
path: |
./artifacts/bin/**/*
./artifacts/log/**/*
if-no-files-found: error