Skip to content

Commit

Permalink
Use working-directory: . instead of working-directory:
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jan 10, 2024
1 parent a5c151b commit 5d1b489
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['head', '3.3', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5']
ruby: ["head", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "2.5"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['head']
ruby: ["head"]
defaults:
run:
shell: msys2 {0}
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['head']
ruby: ["head"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -66,12 +66,12 @@ jobs:
- run: bundle install
- run: bundle exec rspec spec/lrama/integration_spec.rb
env:
ENABEL_VALGRIND: 'true'
ENABEL_VALGRIND: "true"
check-misc:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby: ['head']
ruby: ["head"]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -95,9 +95,9 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['head']
ruby: ["head"]
env:
INSTALL_STEEP: 'true'
INSTALL_STEEP: "true"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -114,8 +114,8 @@ jobs:
matrix:
# '3.0' is the oldest living ruby version
# '2.5' is for BASERUBY
baseruby: ['head', '3.0', '2.5']
ruby_branch: ['master']
baseruby: ["head", "3.0", "2.5"]
ruby_branch: ["master"]
defaults:
run:
working-directory: ../ruby/build
Expand All @@ -126,12 +126,12 @@ jobs:
ruby-version: ${{ matrix.baseruby }}
bundler-cache: true
- run: git clone --depth=1 https://github.com/ruby/ruby.git -b ${{ matrix.ruby_branch }} ../ruby
working-directory:
working-directory: .
- run: mkdir -p tool/lrama
working-directory: ../ruby
- name: Copy Lrama to ruby/tool
run: cp -r LEGAL.md NEWS.md MIT exe lib template ../ruby/tool/lrama
working-directory:
working-directory: .
- run: tree tool/lrama
working-directory: ../ruby
# See also https://github.com/ruby/ruby/blob/master/.github/workflows/ubuntu.yml
Expand Down

0 comments on commit 5d1b489

Please sign in to comment.