chore: Update dependency Microsoft.CodeAnalysis to v4.8.0 - autoclosed #1888
Workflow file for this run
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Pull Request | |
on: pull_request | |
env: | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
jobs: | |
################################################### | |
# DOCS | |
################################################### | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: npm- | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd docs | |
dotnet tool restore | |
dotnet run --configuration Release | |
- name: Archive doc generation | |
uses: actions/upload-artifact@v3 | |
with: | |
name: documentation-output | |
path: docs/output/ | |
retention-days: 5 | |
################################################### | |
# BUILD | |
################################################### | |
build: | |
name: Build | |
if: "!contains(github.event.head_commit.message, 'skip-ci')" | |
strategy: | |
matrix: | |
kind: ['linux', 'windows', 'macOS'] | |
include: | |
- kind: linux | |
os: ubuntu-latest | |
- kind: windows | |
os: windows-latest | |
- kind: macOS | |
os: macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
- name: Build | |
shell: bash | |
run: | | |
dotnet tool restore | |
dotnet cake | |
- name: Upload Verify Test Results | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: verify-test-results | |
path: | | |
**/*.received.* |