Skip to content

Commit 09d238b

Browse files
File sync from hanakai-rb/repo-sync
Updated files: - .github/ISSUE_TEMPLATE/config.yml - .github/SUPPORT.md - .github/workflows/ci.yml - .github/workflows/rubocop.yml - .rubocop.yml - Gemfile.devtools - LICENSE - README.md - dry-configurable.gemspec - spec/support/coverage.rb - spec/support/rspec.rb - spec/support/warnings.rb
1 parent f6003da commit 09d238b

File tree

12 files changed

+88
-343
lines changed

12 files changed

+88
-343
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Community Support
4-
url: https://discourse.dry-rb.org
3+
- name: Community support
4+
url: https://discourse.hanamirb.org
55
about: Please ask and answer questions here.

.github/SUPPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Support
22

3-
If you need help with any of the dry-rb libraries, feel free to ask questions on our [discussion forum](https://discourse.dry-rb.org/). This is the best place to seek help. Make sure to search for a potential solution in past threads before posting your question. Thanks! :heart:
3+
If you need help with any of the dry-rb libraries, feel free to ask questions on our [discussion forum](https://discourse.hanamirb.org/). This is the best place to seek help. Make sure to search for a potential solution in past threads before posting your question. Thanks! :heart:

.github/workflows/ci.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
# This file is synced from dry-rb/template-gem repo
1+
# This file is synced from hanakai-rb/repo-sync
2+
3+
24
name: CI
35

46
on:
57
push:
6-
paths:
7-
- ".github/workflows/ci.yml"
8-
- "lib/**"
9-
- "*.gemspec"
10-
- "spec/**"
11-
- "Rakefile"
12-
- "Gemfile"
13-
- "Gemfile.devtools"
14-
- ".rubocop.yml"
15-
- "project.yml"
8+
branches: ["main"]
169
pull_request:
17-
branches:
18-
- main
19-
create:
10+
branches: ["main"]
11+
schedule:
12+
- cron: "30 4 * * *"
2013

2114
jobs:
2215
tests:
@@ -26,16 +19,20 @@ jobs:
2619
fail-fast: false
2720
matrix:
2821
ruby:
29-
- "3.4"
30-
- "3.3"
31-
- "3.2"
32-
- "3.1"
22+
23+
- 3.4
24+
25+
- 3.3
26+
27+
- 3.2
28+
29+
- 3.1
30+
3331
include:
3432
- ruby: "3.4"
3533
coverage: "true"
3634
env:
3735
COVERAGE: ${{matrix.coverage}}
38-
COVERAGE_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}}
3936
steps:
4037
- name: Checkout
4138
uses: actions/checkout@v3
@@ -62,10 +59,11 @@ jobs:
6259
- name: Set up Ruby
6360
uses: ruby/setup-ruby@v1
6461
with:
65-
ruby-version: 3.4
62+
ruby-version: 3.3
6663
- name: Install dependencies
6764
run: gem install ossy --no-document
6865
- name: Trigger release workflow
6966
run: |
7067
tag=$(echo $GITHUB_REF | cut -d / -f 3)
7168
ossy gh w dry-rb/devtools release --payload "{\"tag\":\"$tag\",\"sha\":\"${{github.sha}}\",\"tag_creator\":\"$GITHUB_ACTOR\",\"repo\":\"$GITHUB_REPOSITORY\",\"repo_name\":\"${{github.event.repository.name}}\"}"
69+

.github/workflows/rubocop.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# frozen_string_literal: true
22

3-
# This file is synced from dry-rb/template-gem repo
3+
# This file is synced from hanakai-rb/repo-sync
44

55
name: RuboCop
66

7-
on: [push, pull_request]
7+
on:
8+
push:
9+
branches: ["main"]
10+
pull_request:
11+
branches: ["main"]
812

913
permissions:
1014
contents: read
@@ -16,13 +20,13 @@ jobs:
1620
BUNDLE_ONLY: tools
1721

1822
steps:
19-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v3
2024

21-
- name: Set up Ruby 3.2
22-
uses: ruby/setup-ruby@v1
23-
with:
24-
ruby-version: 3.2
25-
bundler-cache: true
25+
- name: Set up Ruby 3.4
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: 3.4
29+
bundler-cache: true
2630

27-
- name: Run RuboCop
28-
run: bundle exec rubocop --parallel
31+
- name: Run RuboCop
32+
run: bundle exec rubocop --parallel

0 commit comments

Comments
 (0)