Skip to content

Commit 101f0b3

Browse files
ok workflow
1 parent 37d227b commit 101f0b3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/shared/setup/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: setup ruby
22
description: setup ruby
3+
inputs:
4+
working-directory:
5+
description: directory to use
6+
required: true
37
runs:
48
using: composite
59
steps:
610
- name: Set up Ruby
711
uses: ruby/setup-ruby@v1
812
with:
913
bundler-cache: true
14+
working-directory: ${{ inputs.working-directory }}

.github/workflows/2021-ruby.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
run: pwd
2121
- name: Setup Ruby
2222
uses: ./.github/shared/setup
23+
with:
24+
working-directory: ./2021/ruby
2325
- name: Run rubocop
2426
run: bundle exec rubocop
2527
tests:
@@ -28,5 +30,7 @@ jobs:
2830
- uses: actions/checkout@v3
2931
- name: Setup Ruby
3032
uses: ./.github/shared/setup
33+
with:
34+
working-directory: ./2021/ruby
3135
- name: Run tests
3236
run: bundle exec rspec

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy