Skip to content

Merge pull request #45 from 1c-syntax/dependabot/gradle/org.sonarqube… #108

Merge pull request #45 from 1c-syntax/dependabot/gradle/org.sonarqube…

Merge pull request #45 from 1c-syntax/dependabot/gradle/org.sonarqube… #108

Workflow file for this run

name: QA
on:
push:
branches:
- develop
- master
pull_request:
jobs:
QA:
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name
steps:
- uses: actions/checkout@v3
with:
fetch-depth: ''
submodules: true
- run: |
git fetch --prune --unshallow
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
- name: SonarCloud Scan
run: ./gradlew check sonar
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}