mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-07-03 20:12:56 +00:00
feat: Disable new analyzers temp
This commit is contained in:
parent
662c4d048c
commit
f13d7a51f7
26
.github/workflows/dotnet.yml
vendored
26
.github/workflows/dotnet.yml
vendored
@ -24,18 +24,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: |
|
dotnet-version: |
|
||||||
7.x.x
|
7.x.x
|
||||||
6.x.x
|
# 6.x.x
|
||||||
- name: Check for vulnerabilities
|
# - name: Check for vulnerabilities
|
||||||
run: |
|
# run: |
|
||||||
VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt)
|
# 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
|
# curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip" --output dependency-check.zip
|
||||||
unzip dependency-check.zip
|
# unzip dependency-check.zip
|
||||||
./dependency-check/bin/dependency-check.sh -s "**/*.csproj" --project "${{ env.projectName }}" --failOnCVSS "7"
|
# ./dependency-check/bin/dependency-check.sh -s "**/*.csproj" --project "${{ env.projectName }}" --failOnCVSS "7"
|
||||||
- name: Check for license issues
|
# - name: Check for license issues
|
||||||
run: |
|
# run: |
|
||||||
dotnet new tool-manifest
|
# dotnet new tool-manifest
|
||||||
dotnet tool install --local liz.tool
|
# dotnet tool install --local liz.tool
|
||||||
dotnet liz "${{ env.solutionFile }}" --suppress-progressbar
|
# dotnet liz "${{ env.solutionFile }}" --suppress-progressbar
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
@ -60,6 +60,6 @@ jobs:
|
|||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
# platforms: linux/amd64,linux/arm64
|
# platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.DOCKER_IMAGE }}:latest
|
tags: ${{ env.DOCKER_IMAGE }}:latest
|
Loading…
Reference in New Issue
Block a user