Skip to content

Commit 777853f

Browse files
committed
Randomly trying github actions fixes
1 parent 997d74c commit 777853f

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717
- uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: 3.2.9
19+
ruby-version: 3.2
2020
bundler-cache: true
2121
# Disabled since it requires access not granted by GitHub Actions for PRs
2222
# - name: Danger
@@ -26,7 +26,9 @@ jobs:
2626
# run: |
2727
# bundle exec danger
2828
- name: Rubocop
29-
run: rubocop --autocorrect
29+
run: |
30+
bundle install
31+
rubocop --autocorrect
3032
Test:
3133
runs-on: ubuntu-latest
3234
strategy:
@@ -44,7 +46,9 @@ jobs:
4446
ruby-version: ${{ matrix.ruby-version }}
4547
bundler-cache: true
4648
- name: Run tests
47-
run: rake test
49+
run: |
50+
bundle install
51+
rake test
4852
Demo:
4953
runs-on: ubuntu-latest
5054
steps:
@@ -54,10 +58,12 @@ jobs:
5458
with:
5559
working-directory: demo
5660
bundler-cache: true
57-
ruby-version: 3.4.2
61+
ruby-version: 3.4
5862
- name: Run tests
5963
working-directory: demo
60-
run: rake test:all
64+
run: |
65+
bundle install
66+
rake test:all
6167
# - name: Commit changed screenshots and other files
6268
# if: failure()
6369
# working-directory: demo

0 commit comments

Comments
 (0)