From 1e8320bd984bd945a9a81bb86a060db586149965 Mon Sep 17 00:00:00 2001 From: Moritz Heiber Date: Thu, 8 Feb 2024 20:55:12 +0100 Subject: [PATCH] Use vagrant from the official repository --- .github/workflows/test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11f3d5b..0ff8d14 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,11 +44,13 @@ jobs: - name: Install virtualbox run: | sudo apt-get update -qq - sudo apt-get install -y virtualbox - - uses: nahsi/setup-hashi-tool@v1 - with: - name: vagrant - name: Install vagrant + sudo apt-get install -y virtualbox gpg lsb-release + - name: Install vagrant + run: | + curl -L https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg + echo "deb [arch=$(dpkg --print-architecture) 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 -qq + sudo apt install vagrant - name: Run tests in Vagrant run: | pip install --upgrade pip