Skip to content

No need for memberName in IDataItemExtender.Extend method #615

No need for memberName in IDataItemExtender.Extend method

No need for memberName in IDataItemExtender.Extend method #615

Workflow file for this run

name: '♻️ CI/CD'
on:
pull_request:
paths:
- 'GitVersion.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/actions/**'
- '.github/workflows/**'
- '!.github/workflows/codeql.yml'
- '!.github/workflows/fossa-scan.yml'
- '!.github/workflows/qodana.yml'
- '!.github/workflows/semgrep.yml'
- '!.github/workflows/snyk.yml'
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
paths:
- 'GitVersion.yml'
- 'src/**'
- '!src/qodana.yml'
- '.github/actions/**'
- '.github/workflows/**'
- '!.github/workflows/codeql.yml'
- '!.github/workflows/fossa-scan.yml'
- '!.github/workflows/qodana.yml'
- '!.github/workflows/semgrep.yml'
- '!.github/workflows/snyk.yml'
workflow_dispatch:
inputs:
buildAutoFakeItEasy:
description: 'Build AutoFakeItEasy'
required: true
type: boolean
default: true
buildAutoMoq:
description: 'Build AutoMoq'
required: true
type: boolean
default: true
buildAutoNSubstitute:
description: 'Build AutoNSubstitute'
required: true
type: boolean
default: true
environment:
description: 'Environment'
type: environment
required: true
default: prod
defaults:
run:
shell: pwsh
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
init:
permissions:
contents: read
uses: ./.github/workflows/init.yml
with:
buildAutoFakeItEasy: ${{github.event_name != 'workflow_dispatch' || inputs.buildAutoFakeItEasy == true}}
buildAutoMoq: ${{github.event_name != 'workflow_dispatch' || inputs.buildAutoMoq == true}}
buildAutoNSubstitute: ${{github.event_name != 'workflow_dispatch' || inputs.buildAutoNSubstitute == true}}
build-test-pack:
needs: [init]
if: ${{ needs.init.outputs.modules != '' }}
permissions:
contents: read
strategy:
matrix:
module-name: ${{ fromJSON(needs.init.outputs.modules) }}
uses: ./.github/workflows/build-test-pack.yml
with:
configuration: ${{ needs.init.outputs.configuration }}
module-name: ${{ matrix.module-name }}
module-namespace: ${{ needs.init.outputs.namespace }}
version: ${{ needs.init.outputs.version }}
secrets:
signing-key-value: ${{ secrets.SIGNING_KEY }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
publish:
needs: [build-test-pack]
if: ${{ inputs.environment != null }}
permissions:
packages: write
uses: ./.github/workflows/publish.yml
with:
environment: ${{ inputs.environment }}
secrets: inherit
tag:
needs: [publish, init]
# Allow tagging only on the master branch when publish was successful
if: ${{ github.ref_name == 'master' && needs.publish.result == 'success' }}
permissions:
contents: write
uses: ./.github/workflows/tag.yml
with:
version: ${{ needs.init.outputs.version }}