mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 03:32:41 +01:00
fix(ci): move to macos13
This commit is contained in:
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@@ -22,6 +22,28 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Update Homebrew
|
||||
run: |
|
||||
brew update --preinstall
|
||||
echo ${{ hashFiles ('"$(brew --repository)"') }} > .github/brew-formulae
|
||||
|
||||
- name: Restore Homebrew cache
|
||||
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
with:
|
||||
path: ~/Library/Caches/Homebrew
|
||||
key: brew-${{ hashFiles('.github/brew-formulae') }}
|
||||
|
||||
- name: Install Homebrew dependencies
|
||||
run: |
|
||||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
|
||||
|
||||
- name: Restore vagrant Boxes cache
|
||||
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
with:
|
||||
path: ~/.vagrant.d/boxes
|
||||
key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }}
|
||||
|
||||
|
||||
- name: Configure VirtualBox
|
||||
run: |-
|
||||
sudo mkdir -p /etc/vbox
|
||||
|
||||
Reference in New Issue
Block a user