From 388601999867f60f06b9ccddf2f1a60b87049be4 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Thu, 7 Sep 2023 21:08:54 +0900 Subject: [PATCH] bump actions/checkout v4 --- .github/workflows/ci.yml | 2 +- .github/workflows/depup.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/reviewdog.yml | 6 +++--- .github/workflows/test_rdjson_formatter.yml | 2 +- README.md | 18 ++++++++++-------- 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9eba2f0..61280dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: env: BUNDLE_GEMFILE: ${{ github.workspace }}/test/using_bundler/Gemfile steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 1ae70b7..2f7eda4 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -9,7 +9,7 @@ jobs: reviewdog: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: haya14busa/action-depup@v1 id: depup with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aced269..fe431ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: if: github.event.action != 'labeled' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Bump version on merging Pull Requests with specific labels. # (bump:major,bump:minor,bump:patch) @@ -50,6 +50,6 @@ jobs: if: github.event.action == 'labeled' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Post bumpr status comment uses: haya14busa/action-bumpr@v1 diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 9719c91..8d6bccf 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -6,7 +6,7 @@ jobs: name: check / misspell runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: misspell uses: reviewdog/action-misspell@v1 with: @@ -19,7 +19,7 @@ jobs: name: runner / shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: shellcheck uses: reviewdog/action-shellcheck@v1 with: @@ -33,7 +33,7 @@ jobs: name: check / yamllint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: yamllint uses: reviewdog/action-yamllint@v1 with: diff --git a/.github/workflows/test_rdjson_formatter.yml b/.github/workflows/test_rdjson_formatter.yml index 187abb5..23190bc 100644 --- a/.github/workflows/test_rdjson_formatter.yml +++ b/.github/workflows/test_rdjson_formatter.yml @@ -8,7 +8,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 diff --git a/README.md b/README.md index cb26f9d..1bfb3b3 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,10 @@ With `reporter: github-pr-review` a comment is added to the Pull Request Convers ### `rubocop_version` Optional. Set rubocop version. Possible values: -* empty or omit: install latest version -* `gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version) -* version (e.g. `0.90.0`): install said version + +- empty or omit: install latest version +- `gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version) +- version (e.g. `0.90.0`): install said version ### `rubocop_extensions` @@ -45,9 +46,10 @@ By default install `rubocop-rails`, `rubocop-performance`, `rubocop-rspec`, `rub Provide desired version delimited by `:` (e.g. `rubocop-rails:1.7.1`) Possible version values: -* empty or omit (`rubocop-rails rubocop-rspec`): install latest version -* `rubocop-rails:gemfile rubocop-rspec:gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version) -* version (e.g. `rubocop-rails:1.7.1 rubocop-rspec:2.0.0`): install said version + +- empty or omit (`rubocop-rails rubocop-rspec`): install latest version +- `rubocop-rails:gemfile rubocop-rspec:gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version) +- version (e.g. `rubocop-rails:1.7.1 rubocop-rspec:2.0.0`): install said version You can combine `gemfile`, fixed and latest bundle version as you want to. @@ -77,7 +79,7 @@ Default is `added`. ### `fail_on_error` -Optional. Exit code for reviewdog when errors are found [`true`, `false`]. +Optional. Exit code for reviewdog when errors are found [`true`, `false`]. Default is `false`. ### `reviewdog_flags` @@ -112,7 +114,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.0