Scraper for RSD aggregator #419
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2023 - 2024 Ewan Cahen (Netherlands eScience Center) <[email protected]> | |
# SPDX-FileCopyrightText: 2023 - 2024 Netherlands eScience Center | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: database scan | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "database/**" | |
pull_request: | |
paths: | |
- "database/**" | |
jobs: | |
build: | |
name: Build and analyse with SonarCloud | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Cache SonarCloud packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- name: SonarCloud Scan database | |
uses: sonarsource/sonarcloud-github-action@master | |
with: | |
projectBaseDir: database | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |