fix(ci): move to macos13

This commit is contained in:
Timothy Stewart
2024-01-21 13:20:36 -06:00
parent 3bb8984d7c
commit f2b87ec097
2 changed files with 20 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ on:
jobs: jobs:
molecule: molecule:
name: cache name: cache
runs-on: macos-12 runs-on: macos-13
env: env:
PYTHON_VERSION: "3.11" PYTHON_VERSION: "3.11"
@@ -23,3 +23,21 @@ jobs:
key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }} key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }}
restore-keys: | restore-keys: |
vagrant-boxes vagrant-boxes
- name: Update Homebrew
run: |
brew update --preinstall
cat "$(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/foo.rb" > .github/brew-formulae
- name: Configure Homebrew cache
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with:
path: |
~/Library/Caches/Homebrew/virtualbox--*
~/Library/Caches/Homebrew/vagrant--*
~/Library/Caches/Homebrew/downloads/*--virtualbox-*
~/Library/Caches/Homebrew/downloads/*--vagrant-*
key: brew-${{ hashFiles('.github/brew-formulae') }}
restore-keys: brew-
- name: Install Homebrew dependencies
run: |
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant

View File

@@ -5,7 +5,7 @@ on:
jobs: jobs:
molecule: molecule:
name: Molecule name: Molecule
runs-on: macos-12 runs-on: macos-13
strategy: strategy:
matrix: matrix:
scenario: scenario: