chore(deps): bump the nuget-minor group with 3 updates #289
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
name: ci | |
on: | |
push: | |
branches: [main] | |
tags-ignore: | |
- '*' | |
pull_request: | |
branches: [main] | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- '**.md' | |
- '.editorconfig' | |
- 'docs/**' | |
workflow_dispatch: | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
jobs: | |
build: | |
name: ${{ matrix.platform }} build | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Build and test | |
run: | | |
dotnet restore | |
dotnet build --configuration Release --no-restore | |
dotnet test --configuration Release --verbosity minimal --no-build | |
analyze: | |
name: code analysis | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['csharp'] | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Restore dependencies | |
run: dotnet restore --verbosity normal | |
- name: Build | |
run: dotnet build --no-restore /p:UseSharedCompilation=false | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |