Skip to content

Commit f9c5088

Browse files
authored
Merge pull request #688 from ekohl/update-gha
Use ruby/setup-ruby in workflow testing
2 parents abb37b4 + 3203698 commit f9c5088

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: noop run
22

3-
on: pull_request
3+
on:
4+
- pull_request
5+
- push
46

57
jobs:
68
unit:
@@ -9,19 +11,9 @@ jobs:
911
steps:
1012
- uses: actions/checkout@v2
1113
- name: Setup ruby
12-
uses: actions/setup-ruby@v1
14+
uses: ruby/setup-ruby@v1
1315
with:
1416
ruby-version: 2.7
15-
- uses: actions/cache@v2
16-
with:
17-
path: vendor/bundle
18-
key: ${{ runner.os }}-2.7-gems-${{ hashFiles('**/Gemfile.lock') }}
19-
restore-keys: |
20-
${{ runner.os }}-2.7-gems-
21-
- name: Install dependencies
22-
run: |
23-
gem install bundler
24-
bundle config path vendor/bundle
25-
bundle install --jobs $(nproc) --retry 3
17+
bundler-cache: true
2618
- name: Run msync --noop
2719
run: bundle exec msync update --noop --git-base=https://github.com/

0 commit comments

Comments
 (0)