switch from actions/setup-ruby@v1 to ruby/setup-ruby@v1

This commit is contained in:
Alexander Meindl
2021-03-03 07:35:24 +01:00
parent 3c7b14b3f2
commit f6b25521a7
2 changed files with 6 additions and 16 deletions

View File

@@ -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

View File

@@ -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