Skip to content

CSE009: Fix for nested lambdas #43

CSE009: Fix for nested lambdas

CSE009: Fix for nested lambdas #43

Workflow file for this run

name: pr-verification
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-extension:
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
RepositoryUrl: 'https://github.com/${{ github.repository }}'
RepositoryBranch: '${{ github.ref }}'
SourceRevisionId: '${{ github.sha }}'
VersionSuffix: 'pr-${{github.event.number}}.${{ github.run_number }}'
Configuration: Release
SolutionPath: src\CSharpExtensions.sln
Deterministic: true
PackageReleaseNotes: 'https://github.com/${{ github.repository }}/releases'
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0'
- name: Calculate next version
uses: cezarypiatek/NextVersionGeneratorAction@0.4
with:
patch-pattern: '.*'
minor-pattern: '^(?!(Fix|Tech))/i'
major-pattern: 'BREAKING CHANGES'
output-to-env-variable: 'VersionPrefix'
- name: Restore dependencies
run: |
dotnet nuget locals all --clear
dotnet restore $env:SolutionPath
- name: Build extension
run: dotnet build $env:SolutionPath
- name: Test extension
run: dotnet test --no-build --verbosity normal $env:SolutionPath
- name: Collect artifacts - nugets
uses: actions/upload-artifact@v2
with:
name: CSharpExtensions-Nugets
path: '**/SmartAnalyzers.CSharpExtensions*.nupkg'