forked from kpumuk/meta-tags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into rename-title-helper
- Loading branch information
Showing
76 changed files
with
3,064 additions
and
2,111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
engines: | ||
version: "2" | ||
plugins: | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- ruby | ||
- ruby | ||
|
||
fixme: | ||
enabled: true | ||
|
||
rubocop: | ||
enabled: true | ||
# Check https://github.com/codeclimate/codeclimate-rubocop/branches/all?query=channel%2Frubocop | ||
channel: rubocop-1-31-0 | ||
|
||
ratings: | ||
paths: | ||
- "**.rb" | ||
|
||
exclude_paths: | ||
- spec/**/* | ||
- certs/**/* | ||
exclude_patterns: | ||
- spec/**/* | ||
- certs/**/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "bundler" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- dependencies | ||
- bundler | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- dependencies | ||
- github-actions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Dependabot | ||
|
||
on: | ||
pull_request: | ||
types: [labeled] | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
jobs: | ||
build: | ||
if: contains(github.event.pull_request.labels.*.name, 'bundler') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
ruby-version: | ||
- "3.2" | ||
|
||
name: Appraisal - Ruby ${{ matrix.ruby-version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Update Appraisal gemfiles | ||
run: | | ||
bundle exec appraisal update | ||
- name: Commit gemfiles | ||
run: | | ||
git config --global user.name "Github Workflow" | ||
git config --global user.email "[email protected]" | ||
git add gemfiles/* | ||
git commit -m "Updated Appraisal gemfiles" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
branch: ${{ github.head_ref }} | ||
force_with_lease: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: StandardRB | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
checks: write | ||
contents: read | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
ruby-version: | ||
- "3.2" | ||
rails-version: | ||
- "7.1" | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile | ||
|
||
name: StandardRB - Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }} | ||
steps: | ||
- name: Run StandardRB | ||
uses: standardrb/standard-ruby-action@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
autofix: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Steep | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
ruby-version: | ||
- "3.2" | ||
rails-version: | ||
- "7.1" | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile | ||
|
||
name: Steep - Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Verify Ruby Types (Static) | ||
run: | | ||
bundle exec rake steep | ||
- name: Verify Ruby Types (Runtime) | ||
run: | | ||
bundle exec rake rbs:spec |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: | ||
- "3.0" | ||
- "3.1" | ||
- "3.2" | ||
- "3.3" | ||
rails-version: | ||
- "6.0" | ||
- "6.1" | ||
- "7.0" | ||
- "7.1" | ||
- "7.2" | ||
- "edge" | ||
include: | ||
- ruby-version: "3.3" | ||
rails-version: "7.1" | ||
code-coverage: true | ||
exclude: | ||
- ruby-version: "3.0" | ||
rails-version: "7.2" | ||
- ruby-version: "3.0" | ||
rails-version: "edge" | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile | ||
|
||
name: Specs - Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} on Rails ${{ matrix.rails-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Run RSpec | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ vars.CC_TEST_REPORTER_ID }} | ||
ENABLE_CODE_COVERAGE: true | ||
run: | | ||
bundle exec rspec --format RspecJunitFormatter --out ${{github.workspace}}/rspec-results.xml --format documentation | ||
- uses: paambaati/codeclimate-action@v9 | ||
if: matrix.code-coverage | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ vars.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageLocations: | | ||
${{github.workspace}}/coverage/coverage.json:simplecov |
Oops, something went wrong.