fix(ci): pin + cache

This commit is contained in:
Timothy Stewart
2022-11-01 21:24:03 -05:00
parent 664deec6c3
commit 6af47f96d0

View File

@@ -28,6 +28,20 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Virtual Box
run: |
echo "::group::Virtual Box"
sudo apt update && sudo apt install -y virtualbox
echo "::endgroup::"
- name: Install Vagrant
run: |
echo "::group::Install Vagrant"
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
sudo apt update && sudo apt install -y vagrant
echo "::endgroup::"
- name: Configure VirtualBox
run: |-
sudo mkdir -p /etc/vbox
@@ -86,7 +100,7 @@ jobs:
- name: Upload log files
if: always() # do this even if a step before has failed
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # 3.1.0
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # 3.1.1
with:
name: logs
path: |