Bump Roslynator.Analyzers from 4.12.4 to 4.12.6 #300
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # for minver | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
- name: Setup .NET 5 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 5.0.408 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.425 | |
- name: Setup .NET Core for Wyam | |
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main' | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 2.1.811 | |
- name: Execute build | |
run: | | |
dotnet build --configuration Release /nologo | |
dotnet test --configuration Release | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: strinken | |
path: artifacts/* | |
- name: Generate doc | |
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main' | |
run: | | |
dotnet tool install -g wyam.tool | |
wyam build docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/output | |
commit_message: Update docs with commit |