fix(ci): move to macos13

This commit is contained in:
Timothy Stewart
2024-01-21 14:35:45 -06:00
parent 22a617734d
commit 0e233e1d0f

View File

@@ -22,17 +22,23 @@ jobs:
with: with:
ref: ${{ github.event.pull_request.head.sha }} 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 - name: Restore Homebrew cache
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0 uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with: with:
path: ~/Library/Caches/Homebrew path: ~/Library/Caches/Homebrew
key: brew-${{ hashFiles('.github/brew-formulae') }} key: brew-${{ hashFiles('.github/brew-formulae') }}
- name: Update Homebrew
run: |
brew update --preinstall
echo ${{ hashFiles ('"$(brew --repository)"') }} > .github/brew-formulae
- name: Restore Ansible cache
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
with:
path: ~/.ansible/collections
key: ${{ runner.os }}-ansible-${{ hashFiles('collections/requirements.txt') }}
- name: Install Homebrew dependencies - name: Install Homebrew dependencies
run: | run: |
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
@@ -42,6 +48,7 @@ jobs:
with: with:
path: ~/.vagrant.d/boxes path: ~/.vagrant.d/boxes
key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }} key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }}
fail-on-cache-miss: true
- name: Configure VirtualBox - name: Configure VirtualBox
run: |- run: |-