0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-02 03:22:57 +00:00

feat: Disable new analyzers temp

This commit is contained in:
alex289 2023-10-24 10:13:48 +02:00
parent 662c4d048c
commit f13d7a51f7
No known key found for this signature in database
GPG Key ID: 573F77CD2D87F863

View File

@ -24,18 +24,18 @@ jobs:
with:
dotnet-version: |
7.x.x
6.x.x
- name: Check for vulnerabilities
run: |
VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt)
curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip" --output dependency-check.zip
unzip dependency-check.zip
./dependency-check/bin/dependency-check.sh -s "**/*.csproj" --project "${{ env.projectName }}" --failOnCVSS "7"
- name: Check for license issues
run: |
dotnet new tool-manifest
dotnet tool install --local liz.tool
dotnet liz "${{ env.solutionFile }}" --suppress-progressbar
# 6.x.x
# - name: Check for vulnerabilities
# run: |
# VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt)
# curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip" --output dependency-check.zip
# unzip dependency-check.zip
# ./dependency-check/bin/dependency-check.sh -s "**/*.csproj" --project "${{ env.projectName }}" --failOnCVSS "7"
# - name: Check for license issues
# run: |
# dotnet new tool-manifest
# dotnet tool install --local liz.tool
# dotnet liz "${{ env.solutionFile }}" --suppress-progressbar
- name: Restore dependencies
run: dotnet restore
- name: Build
@ -60,6 +60,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
# platforms: linux/amd64,linux/arm64
# platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.DOCKER_IMAGE }}:latest