Skip to content

Merge pull request #379 from ballerina-platform/anupama-pathirage-pat… #282

Merge pull request #379 from ballerina-platform/anupama-pathirage-pat…

Merge pull request #379 from ballerina-platform/anupama-pathirage-pat… #282

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@v2
with:
fetch-depth: ''
- run: |
git fetch --prune --unshallow
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: SonarCloud Scan
run: ./gradlew check sonarqube
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}