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:
20
.github/workflows/cache.yml
vendored
20
.github/workflows/cache.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
jobs:
|
||||
molecule:
|
||||
name: cache
|
||||
runs-on: macos-12
|
||||
runs-on: macos-13
|
||||
env:
|
||||
PYTHON_VERSION: "3.11"
|
||||
|
||||
@@ -23,3 +23,21 @@ jobs:
|
||||
key: vagrant-boxes-${{ hashFiles('**/molecule.yml') }}
|
||||
restore-keys: |
|
||||
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
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
jobs:
|
||||
molecule:
|
||||
name: Molecule
|
||||
runs-on: macos-12
|
||||
runs-on: macos-13
|
||||
strategy:
|
||||
matrix:
|
||||
scenario:
|
||||
|
||||
Reference in New Issue
Block a user