.github/workflows/test.yaml in lrama-0.5.3 vs .github/workflows/test.yaml in lrama-0.5.4
- old
+ new
@@ -20,10 +20,19 @@
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle install
- run: bundle exec rspec
+ check-misc:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v3
+ # Copy from https://github.com/ruby/ruby/blob/089227e94823542acfdafa68541d330eee42ffea/.github/workflows/check_misc.yml#L27
+ - name: Check for trailing spaces
+ run: |
+ git grep -I -n '[ ]$' -- '*.rb' '*.[chy]' '*.rs' && exit 1 || :
+ git grep -n '^[ ][ ]*$' -- '*.md' && exit 1 || :
steep-check:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -56,10 +65,10 @@
- run: git clone --depth=1 https://github.com/ruby/ruby.git -b ${{ matrix.ruby_branch }} ../ruby
working-directory:
- run: mkdir -p tool/lrama
working-directory: ../ruby
- name: Copy Lrama to ruby/tool
- run: cp -r exe lib template ../ruby/tool/lrama
+ run: cp -r LEGAL.md MIT exe lib template ../ruby/tool/lrama
working-directory:
- run: tree tool/lrama
working-directory: ../ruby
# See also https://github.com/ruby/ruby/blob/master/.github/workflows/ubuntu.yml
- run: mkdir build