Skip to content

Use specific version for GH actions #13

Use specific version for GH actions

Use specific version for GH actions #13

Workflow file for this run

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2021
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Check End-to-End execution
# yamllint disable-line rule:truthy
on:
push:
branches:
- 'master'
jobs:
check:
runs-on: macos-12
steps:
- uses: actions/checkout@v4.1.2
- uses: actions/cache@v4.0.2
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: Apply workaround for VBoxHeadless issue on macOS (https://www.virtualbox.org/ticket/20636)
shell: bash
run: |
if [[ "$(VBoxManage --version)" == "6.1.28r147628" ]]; then
find . -type f -iname "Vagrantfile" -exec sed -i '.bak' 's|v.gui = .*|v.gui = true|g' {} \;
find . -type f -name "*.bak" -delete
fi
- name: Virtual Machine provisioning
env:
VAGRANT_DISABLE_VBOXSYMLINKCREATE: 1
run: vagrant up