7 types: [opened, synchronize, reopened]
12 runs-on: ubuntu-latest
17 - uses: actions/checkout@v2
18 - name: Use Node.js ${{ matrix.node-version }}
19 uses: actions/setup-node@v2
21 node-version: ${{ matrix.node-version }}
27 runs-on: ubuntu-latest
29 - uses: actions/checkout@v2
30 - name: Set up Docker Buildx
32 uses: docker/setup-buildx-action@v1
33 - name: Build docker image
36 make SUBMODULES_INIT=false
39 runs-on: ubuntu-latest
41 - uses: actions/checkout@v2
43 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
44 - name: SonarCloud Scan
45 uses: SonarSource/sonarcloud-github-action@master
47 GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
48 SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}