From a9f1ec680cf28d185a6d8ab616a88254998d8a69 Mon Sep 17 00:00:00 2001 From: "standard-ruby-action[bot]" Date: Tue, 9 Jul 2024 20:47:49 +0000 Subject: [PATCH] Apply Standard Ruby autofixes --- .github/workflows/ruby.yml | 17 ++++++++++------- lib/cached_resource/version.rb | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a9e2128..da77e42 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -14,6 +14,9 @@ permissions: jobs: test: + permissions: + checks: write + contents: write runs-on: ubuntu-20.04 strategy: matrix: @@ -31,11 +34,11 @@ jobs: DEBUG: true - name: Run tests run: bundle exec rake - lint: - runs-on: ubuntu-20.04 - permissions: - checks: write - contents: write - steps: - - name: Standard Ruby + - name: Code Coverage + uses: joshmfrankel/simplecov-check-action@main + with: + check_job_name: Code Coverage + github_token: ${{ secrets.GITHUB_TOKEN }} + minimum_suite_coverage: 100 + - name: Lint uses: standardrb/standard-ruby-action@v1 diff --git a/lib/cached_resource/version.rb b/lib/cached_resource/version.rb index 817d4f8..c4d22b3 100644 --- a/lib/cached_resource/version.rb +++ b/lib/cached_resource/version.rb @@ -1,3 +1,3 @@ module CachedResource - VERSION = '9.0.0' + VERSION = "9.0.0" end