mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.269.0 to 1.287.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](d697be2f83...8d27f39a5e)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.287.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
name: Vagrant Ruby Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'test-*'
|
|
paths:
|
|
- 'bin/**'
|
|
- 'lib/**'
|
|
- 'plugins/**'
|
|
- 'test/**'
|
|
- 'templates/**'
|
|
- 'Gemfile'
|
|
- 'vagrant.gemspec'
|
|
- 'Rakefile'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'bin/**'
|
|
- 'lib/**'
|
|
- 'plugins/**'
|
|
- 'test/**'
|
|
- 'Gemfile'
|
|
- 'templates/**'
|
|
- 'vagrant.gemspec'
|
|
- 'Rakefile'
|
|
|
|
jobs:
|
|
unit-tests-ruby:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
strategy:
|
|
matrix:
|
|
ruby: [ '3.1', '3.2', '3.3', '3.4' ]
|
|
name: Vagrant unit tests on Ruby ${{ matrix.ruby }}
|
|
steps:
|
|
- name: Code Checkout
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@8d27f39a5e7ad39aebbcbd1324f7af020229645c # v1.287.0
|
|
with:
|
|
ruby-version: ${{matrix.ruby}}
|
|
bundler-cache: true
|
|
- name: install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -yq libarchive-tools
|
|
- name: Run Tests
|
|
run: bundle exec rake test:unit
|