forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge with upstream activemerchant master
- Loading branch information
Showing
814 changed files
with
164,365 additions
and
34,388 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,44 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Ruby ${{ matrix.version }} ${{ matrix.gemfile }} | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | ||
strategy: | ||
matrix: | ||
version: | ||
- 3.1 | ||
gemfile: | ||
- gemfiles/Gemfile.rails50 | ||
- gemfiles/Gemfile.rails51 | ||
- gemfiles/Gemfile.rails52 | ||
- gemfiles/Gemfile.rails60 | ||
- gemfiles/Gemfile.rails_master | ||
exclude: | ||
- version: 2.6 | ||
gemfile: gemfiles/Gemfile.rails_master | ||
- version: 2.5 | ||
gemfile: gemfiles/Gemfile.rails_master | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Ruby ${{ matrix.version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.version }} | ||
bundler-cache: true | ||
|
||
- name: Test | ||
run: bundle exec rake test | ||
- name: Linter | ||
run: bundle exec rubocop |
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,19 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
stale-issue-message: 'To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you!' | ||
stale-pr-message: 'To provide a cleaner slate for the maintenance of the library, this PR/Issue is being labeled stale after 60 days without activity. It will be closed in 14 days unless you comment with an update regarding its applicability to the current build. Thank you!' | ||
days-before-close: 14 | ||
exempt-draft-pr: 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
Oops, something went wrong.