.github/workflows/test.yaml in lrama-0.5.5 vs .github/workflows/test.yaml in lrama-0.5.6

- old
+ new

@@ -13,11 +13,11 @@ strategy: fail-fast: false matrix: ruby: ['head', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle install @@ -27,21 +27,21 @@ strategy: fail-fast: false matrix: ruby: ['head'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 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 + - uses: actions/checkout@v4 # 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 || : @@ -50,11 +50,11 @@ strategy: fail-fast: false matrix: ruby: ['head'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle install @@ -69,10 +69,10 @@ ruby_branch: ['master'] defaults: run: working-directory: ../ruby/build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.baseruby }} bundler-cache: true - run: git clone --depth=1 https://github.com/ruby/ruby.git -b ${{ matrix.ruby_branch }} ../ruby