-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: integrate github actions and prepare release
- Loading branch information
Showing
17 changed files
with
299 additions
and
150 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
exclude_paths: | ||
- CHANGELOG.md | ||
|
||
... |
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,11 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
":semanticCommits", | ||
":semanticCommitType(deps)", | ||
":automergePatch" | ||
], | ||
"labels": [ | ||
"renovate" | ||
] | ||
} |
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,66 @@ | ||
--- | ||
repository: | ||
name: po_to_json | ||
description: Ruby library for converting gettext PO files to JSON | ||
homepage: https://github.com/webhippie/po_to_json | ||
topics: ruby, rubygem, gettext, i18n, json | ||
|
||
private: false | ||
has_issues: true | ||
has_projects: false | ||
has_wiki: false | ||
has_downloads: false | ||
|
||
default_branch: master | ||
|
||
allow_squash_merge: true | ||
allow_merge_commit: true | ||
allow_rebase_merge: true | ||
|
||
labels: | ||
- name: bug | ||
color: d73a4a | ||
description: Something isn't working | ||
- name: documentation | ||
color: 0075ca | ||
description: Improvements or additions to documentation | ||
- name: duplicate | ||
color: cfd3d7 | ||
description: This issue or pull request already exists | ||
- name: enhancement | ||
color: a2eeef | ||
description: New feature or request | ||
- name: good first issue | ||
color: 7057ff | ||
description: Good for newcomers | ||
- name: help wanted | ||
color: 008672 | ||
description: Extra attention is needed | ||
- name: invalid | ||
color: e4e669 | ||
description: This doesn't seem right | ||
- name: question | ||
color: d876e3 | ||
description: Further information is requested | ||
- name: wontfix | ||
color: ffffff | ||
description: This will not be worked on | ||
- name: hacktoberfest-accepted | ||
color: cccccc | ||
description: Accepted as a Hacktoberfest submission | ||
- name: renovate | ||
color: e99695 | ||
description: Automated action from Renovate | ||
|
||
branches: | ||
- name: master | ||
protection: | ||
required_status_checks: | ||
strict: true | ||
contexts: [] | ||
enforce_admins: false | ||
restrictions: | ||
users: [] | ||
teams: [] | ||
|
||
... |
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,22 @@ | ||
--- | ||
name: release | ||
|
||
"on": | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Release gem | ||
uses: dawidd6/action-publish-gem@v1 | ||
with: | ||
api_key: ${{ secrets.RUBYGEMS_API_KEY }} | ||
|
||
... |
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,75 @@ | ||
--- | ||
name: testing | ||
|
||
"on": | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
rubocop: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.1 | ||
bundler: 1.17 | ||
bundler-cache: true | ||
|
||
- name: Run rubocop | ||
run: bundle exec rubocop | ||
|
||
spec: | ||
runs-on: ubuntu-20.04 | ||
needs: rubocop | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
matrix: | ||
ruby: | ||
- "2.1" | ||
- "2.5" | ||
- "2.7" | ||
- "3.0" | ||
- "3.1" | ||
json: | ||
- "1.6" | ||
- "1.7" | ||
- "1.8" | ||
- "2.0" | ||
- "2.1" | ||
- "2.2" | ||
- "2.3" | ||
- "2.4" | ||
- "2.5" | ||
- "2.6" | ||
exclude: | ||
- json: "2.6" | ||
ruby: "2.1" | ||
- json: "2.7" | ||
ruby: "2.3" | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler: 1.17 | ||
bundler-cache: true | ||
env: | ||
JSON_VERSION: ${{ matrix.json }} | ||
|
||
- name: Run rspec | ||
run: bundle exec rspec | ||
|
||
... |
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
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
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
Oops, something went wrong.