fix(ci): pin + cache

This commit is contained in:
Timothy Stewart
2022-11-01 21:43:00 -05:00
parent 6af47f96d0
commit dd1e596332

View File

@@ -28,10 +28,13 @@ jobs:
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Install Virtual Box - name: Install Virtual Box from Oracle
run: | run: |
echo "::group::Virtual Box" echo "::group::Virtual Box"
sudo apt update && sudo apt install -y virtualbox wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee -a /etc/apt/sources.list.d/virtualbox.list
sudo apt update && sudo apt install -y virtualbox-6.1
vboxmanage --version
echo "::endgroup::" echo "::endgroup::"
- name: Install Vagrant - name: Install Vagrant
@@ -40,6 +43,7 @@ jobs:
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install -y vagrant sudo apt update && sudo apt install -y vagrant
vagrant version
echo "::endgroup::" echo "::endgroup::"
- name: Configure VirtualBox - name: Configure VirtualBox