testing #625
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: homelab-ci | |
on: | |
push: | |
branches: | |
- main | |
- testing | |
jobs: | |
homelab-ci: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
detached: true | |
limit-access-to-actor: true | |
- name: Cache Vagrant boxes | |
uses: actions/cache@v3 | |
with: | |
path: ~/.vagrant.d/boxes | |
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }} | |
restore-keys: | | |
${{ runner.os }}-vagrant- | |
- name: Install Tools | |
run: brew install nmap tree | |
- name: Install VirtualBox | |
run: brew install --cask virtualbox | |
- name: Install Vagrant | |
run: brew install --cask vagrant | |
- name: Install Ansible | |
run: brew install ansible | |
- name: Software Versions | |
run: | | |
printf "VirtualBox "; vboxmanage --version | |
vagrant --version | |
ansible --version | |
- name: Vagrant Up with Dockerbox Playbook | |
run: ./scripts/github-vagrant.sh |