mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-28 11:42:37 +01:00
fix(ci): move to macos13
This commit is contained in:
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@@ -22,17 +22,23 @@ 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: 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
|
||||
run: |
|
||||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
|
||||
@@ -42,6 +48,7 @@ jobs:
|
||||
with:
|
||||
path: ~/.vagrant.d/boxes
|
||||
key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }}
|
||||
fail-on-cache-miss: true
|
||||
|
||||
- name: Configure VirtualBox
|
||||
run: |-
|
||||
|
||||
Reference in New Issue
Block a user