switch from actions/setup-ruby@v1 to ruby/setup-ruby@v1
This commit is contained in:
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
@@ -12,10 +12,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Set up Ruby 2.6
|
||||
uses: actions/setup-ruby@v1
|
||||
- name: Setup Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6.x
|
||||
ruby-version: 2.6
|
||||
bundler-cache: true
|
||||
|
||||
- name: Set Gemfile
|
||||
run: |
|
||||
@@ -30,7 +31,6 @@ jobs:
|
||||
|
||||
- name: Setup gems
|
||||
run: |
|
||||
gem install bundler
|
||||
bundle install --jobs 4 --retry 3
|
||||
|
||||
- name: Run RuboCop
|
||||
|
||||
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@@ -78,20 +78,10 @@ jobs:
|
||||
libmysqlclient-dev
|
||||
|
||||
- name: Setup Ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
|
||||
- name: Setup Cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: vendor
|
||||
key: v1-ruby-${{ matrix.ruby }}-redmine-${{ matrix.redmine }}
|
||||
|
||||
- name: Setup Bundler
|
||||
run: |
|
||||
gem install bundler -v '~> 1.0'
|
||||
bundle config path "$(pwd)/vendor/bundle"
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
|
||||
- name: Prepare Redmine source
|
||||
working-directory: redmine
|
||||
|
||||
Reference in New Issue
Block a user