testing
This commit is contained in:
parent
48216db8f9
commit
4c868a8f27
27
.github/workflows/vagrant.yml
vendored
Normal file
27
.github/workflows/vagrant.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: vagrant
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
vagrant:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cache Vagrant boxes
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.vagrant.d/boxes
|
||||
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-vagrant-
|
||||
|
||||
- name: Show Vagrant version
|
||||
run: vagrant --version
|
||||
|
||||
- name: Run vagrant up
|
||||
run: vagrant up
|
||||
|
||||
- name: ssh into box after boot
|
||||
run: vagrant ssh -c "echo 'hello world!'"
|
Loading…
Reference in New Issue
Block a user