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:
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@@ -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: |-
|
||||||
|
|||||||
Reference in New Issue
Block a user