Should clean up warnings like this: > Unexpected input(s) 'architecture', valid inputs are ['ruby-version', > 'rubygems', 'bundler', 'bundler-cache', 'working-directory', > 'cache-version']
44 lines
848 B
YAML
44 lines
848 B
YAML
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-18.04
|
|
strategy:
|
|
matrix:
|
|
ruby: [ '2.6', '2.7', '3.0' ]
|
|
name: Vagrant unit tests on Ruby ${{ matrix.ruby }}
|
|
steps:
|
|
- name: Code Checkout
|
|
uses: actions/checkout@v1
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{matrix.ruby}}
|
|
- name: Run Tests
|
|
run: .ci/test.sh
|