From b0a34d4ff04a99b8fb5242aa0c789ff8421f76be Mon Sep 17 00:00:00 2001 From: alpaca-tc Date: Fri, 2 Feb 2024 22:07:05 +0900 Subject: [PATCH] Run only benchmark --- .github/workflows/dependency-review.yml | 23 ----------------------- .github/workflows/main.yml | 19 +------------------ 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml deleted file mode 100644 index 2e0fe53..0000000 --- a/.github/workflows/dependency-review.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Dependency Review Action - # - # This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging. - # - # Source repository: https://github.com/actions/dependency-review-action - # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement - name: 'Dependency Review' - on: [pull_request] - - permissions: - contents: read - - jobs: - dependency-review: - runs-on: ubuntu-latest - steps: - - name: 'Checkout Repository' - uses: actions/checkout@v4 - - name: 'Dependency Review' - uses: actions/dependency-review-action@v4 - with: - # Possible values: "critical", "high", "moderate", "low" - fail-on-severity: high \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dacd28f..41a21f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: matrix: # Due to https://github.com/actions/runner/issues/849, we have to use # quotes for '3.0' -- without quotes, CI sees '3' and runs the latest. - ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, jruby, truffleruby-head] + ruby: [2.7, 3.2] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -33,23 +33,6 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - - run: bundle exec rspec - - - uses: codecov/codecov-action@v3 - with: - files: ./coverage/coverage.xml - fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) - if: matrix.ruby == 3.2 - - - run: bundle exec rubocop - if: matrix.ruby == 3.2 - - - run: | - bundle exec yard doctest - bundle exec dokaz - if: matrix.ruby == 3.2 - - name: Run benchmarks on Ruby 2.7 or 3.2 run: | BUNDLE_GEMFILE=benchmarks/Gemfile bundle install --jobs 4 --retry 3