Bump the microsoft group with 2 updates #157
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: PR CI Build | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
merge_group: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
steps: | |
- name: Setup .Net 8.0.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- uses: actions/checkout@v4 | |
- name: Restore | |
run: dotnet restore --nologo | |
- name: Build | |
run: dotnet build --no-restore --nologo --configuration Release | |
- name: Test | |
run: dotnet test --nologo --no-build --configuration Release | |
- name: Pack | |
run: dotnet pack --nologo --no-build --configuration Release --output nuget-packages src/GitReader.SourceGenerator/GitReader.SourceGenerator.csproj | |
code-style: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .Net 8.0.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Retore | |
run: dotnet restore --nologo | |
- name: .Net Format | |
run: dotnet format --no-restore --verify-no-changes -v diag |