Skip to content

[Snyk] Security upgrade eslint-config-next from 14.0.3 to 14.1.0 #180

[Snyk] Security upgrade eslint-config-next from 14.0.3 to 14.1.0

[Snyk] Security upgrade eslint-config-next from 14.0.3 to 14.1.0 #180

Workflow file for this run

name: SonarCloud analysis
on:
push:
branches: ['main', 'dev']
pull_request:
branches: ['main']
workflow_dispatch:
permissions:
pull-requests: read # allows SonarCloud to decorate PRs with analysis results
jobs:
build:
uses: ./.github/workflows/build.yml
sonar:
needs: build
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/download-artifact@master
with:
name: coverage-artifact
path: coverage
- name: Display coverage files
run: ls -R
working-directory: coverage
- name: Get package info
id: package
uses: codex-team/[email protected]
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args:
-Dsonar.projectKey=dein:fwf
-Dsonar.organization=dein
-Dsonar.projectName=fwf
-Dsonar.projectVersion=${{ steps.package.outputs.version }}
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.coverage.exclusions=**/*.test.ts,**/*.test.tsx
-Dsonar.cpd.exclusions=**/*.test.ts,**/*.test.tsx
# Comma-separated paths to directories containing main source files.
#-Dsonar.sources= # optional, default is project base directory
# When you need the analysis to take place in a directory other than the one from which it was launched
#-Dsonar.projectBaseDir= # optional, default is .
# Comma-separated paths to directories containing test source files.
#-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/
# Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing.
#-Dsonar.verbose= # optional, default is false