Skip to content

Commit

Permalink
ci: fix sq analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
alkoleft committed Aug 26, 2024
1 parent cef4ec7 commit 01fc982
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
run: |
echo "::set-env name=PATH::/opt/sonar-scanner/bin:$PATH"
- name: Install java 11
uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'

- name: Extract version
if: github.event_name == 'push'
shell: bash
Expand All @@ -33,7 +39,7 @@ jobs:

- name: Setup sonarqube
uses: warchant/setup-sonar-scanner@v8

# Анализ проекта в SonarQube (ветка)
- name: Анализ в SonarQube (${{ github.ref_name }})
if: github.event_name == 'push'
Expand Down

0 comments on commit 01fc982

Please sign in to comment.