forked from tim/k3s-ansible
fix(ci): pin + cache
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -28,10 +28,13 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Install Virtual Box
|
||||
- name: Install Virtual Box from Oracle
|
||||
run: |
|
||||
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::"
|
||||
|
||||
- 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
|
||||
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
|
||||
vagrant version
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Configure VirtualBox
|
||||
|
||||
Reference in New Issue
Block a user