From ee846575c512aecdf274c6f41d53b8669096e018 Mon Sep 17 00:00:00 2001 From: Taichi Ishitani Date: Thu, 28 Dec 2023 22:07:23 +0900 Subject: [PATCH] stop using sonarcloud (refs: rggen/rggen#178) --- .github/workflows/static-analysis.yml | 55 --------------------------- README.md | 1 - sonar-project.properties | 8 ---- 3 files changed, 64 deletions(-) delete mode 100644 .github/workflows/static-analysis.yml delete mode 100644 sonar-project.properties diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml deleted file mode 100644 index ce269a9..0000000 --- a/.github/workflows/static-analysis.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Static Analysis - -on: - push: - branches: - - master - pull_request: - types: [opened, synchronize, reopened] - -jobs: - static-analysis: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Setup RgGen env variables - run: | - echo "RGGEN_ROOT=${GITHUB_WORKSPACE}" >> ${GITHUB_ENV} - echo "RGGEN_REPOSITORY=${GITHUB_REPOSITORY#rggen/}" >> ${GITHUB_ENV} - echo "RGGEN_BRANCH=${GITHUB_REF#refs/heads/}" >> ${GITHUB_ENV} - - - name: Checkout RgGen devtools - uses: actions/checkout@v4 - with: - repository: rggen/rggen-devtools - path: rggen-devtools - fetch-depth: 0 - - - name: Checkout RgGen library list - uses: actions/checkout@v4 - with: - repository: rggen/rggen-checkout - path: rggen-checkout - fetch-depth: 0 - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0' - bundler-cache: true - env: - BUNDLE_WITHOUT: rggen:test - - - name: Run Rubocop - run: | - bundle exec rubocop --format json --out rubocop.json --config .rubocop.yml lib || : - - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/README.md b/README.md index 555cf6c..1739b55 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![CI](https://github.com/rggen/rggen-markdown/workflows/CI/badge.svg)](https://github.com/rggen/rggen-markdown/actions?query=workflow%3ACI) [![Maintainability](https://api.codeclimate.com/v1/badges/5bbd7d84fefb30c5ee9a/maintainability)](https://codeclimate.com/github/rggen/rggen-markdown/maintainability) [![codecov](https://codecov.io/gh/rggen/rggen-markdown/branch/master/graph/badge.svg)](https://codecov.io/gh/rggen/rggen-markdown) -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rggen_rggen-markdown&metric=alert_status)](https://sonarcloud.io/dashboard?id=rggen_rggen-markdown) [![Gitter](https://badges.gitter.im/rggen/rggen.svg)](https://gitter.im/rggen/rggen?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) # RgGen::Markdown diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 1e91697..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,8 +0,0 @@ -sonar.projectKey=rggen_rggen-markdown -sonar.projectName=rggen-markdown -sonar.organization=rggen -sonar.sources=./lib -sonar.host.url=https://sonarcloud.io -sonar.scm.provider=git -sonar.ruby.rubocop.reportPaths=./rubocop.json -sonar.coverage.exclusions=**/*.*