Skip to content

build(deps): bump github/codeql-action from 4.31.2 to 4.31.6 #396

build(deps): bump github/codeql-action from 4.31.2 to 4.31.6

build(deps): bump github/codeql-action from 4.31.2 to 4.31.6 #396

name: License Scanning
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
dotnet-modules-scan:
name: dotnet-scan
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup .NET
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
with:
dotnet-version: 8.x
- name: Build project with dotnet
run: dotnet build --configuration Release
working-directory: 'src'
- name: Install nuget-license
run: dotnet tool install --global nuget-license --version 3.1.3
working-directory: 'src'
- name: run nuget license
run: nuget-license -i fdc3-dotnet.sln --allowed-license-types ../.license/allowed-licenses.json --output JsonPretty --error-only -exclude-projects ../.license/excluded-projects.json -mapping ../.license/license-mapping.json
working-directory: 'src'