Skip to content

fix: resolve solution-wide analyzer warnings #2801

fix: resolve solution-wide analyzer warnings

fix: resolve solution-wide analyzer warnings #2801

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Needed so the reusable workflow can optionally delete the temp per-OS artifacts it creates.
permissions:
contents: read
actions: write
jobs:
build:
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
with:
srcFolder: src
minverMinimumMajorMinor: '10.2'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# PR metadata consumed by the fork-PR SonarCloud flow (see sonarcloud-fork.yml).
save-pr-metadata:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Write PR metadata
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_BASE: ${{ github.event.pull_request.base.ref }}
run: |
mkdir -p pr-meta
printf '%s' "$PR_NUMBER" > pr-meta/number
printf '%s' "$PR_BASE" > pr-meta/base
- name: Upload PR metadata
uses: actions/upload-artifact@v7
with:
name: pr-number
path: pr-meta/
retention-days: 1