diff --git a/.github/workflows/foss-compliance-scan.yml b/.github/workflows/foss-compliance-scan.yml index d45c7cb..b2525ab 100644 --- a/.github/workflows/foss-compliance-scan.yml +++ b/.github/workflows/foss-compliance-scan.yml @@ -1,42 +1,8 @@ -name: FOSS Compliance +name: OSS Review Toolkit - FOSS scan on: - push: - branches: [ main ] workflow_dispatch: -defaults: - run: - working-directory: src - jobs: - build_job: - name: build solution - runs-on: ubuntu-latest - strategy: - matrix: - dotnet-version: [ '6.0.x' ] - - steps: - - uses: actions/checkout@v3 - - name: Setup .NET SDK ${{matrix.dotnet-version}} - uses: actions/setup-dotnet@v2 - with: - dotnet-version: ${{matrix.dotnet-version}} - - name: Install dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - name: Test - run: dotnet test --configuration Release --no-build --verbosity normal - - name: SCA scan - run: | - # Extract version number. - cd ${{ github.workspace }}/src/MeshModel - sudo apt install xmlstarlet - version=$(xmlstarlet sel -t -m '//Version[1]' -v . -n