This commit is contained in:
Kris Lamoureux 2023-07-01 01:04:53 -04:00
parent 48216db8f9
commit 4c868a8f27

27
.github/workflows/vagrant.yml vendored Normal file
View 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!'"