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:
37
.github/workflows/cache.yml
vendored
37
.github/workflows/cache.yml
vendored
@@ -15,6 +15,21 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Update Homebrew
|
||||
run: |
|
||||
brew update --preinstall
|
||||
echo ${{ hashFiles ('"$(brew --repository)"') }} > .github/brew-formulae
|
||||
- name: Configure Homebrew cache
|
||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
with:
|
||||
path: |
|
||||
~/Library/Caches/Homebrew
|
||||
key: brew-${{ hashFiles('.github/brew-formulae') }}
|
||||
restore-keys: brew-
|
||||
- name: Install Homebrew dependencies
|
||||
run: |
|
||||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install virtualbox vagrant
|
||||
|
||||
- name: Cache Vagrant boxes
|
||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # 4.0
|
||||
with:
|
||||
@@ -24,20 +39,8 @@ jobs:
|
||||
restore-keys: |
|
||||
vagrant-boxes
|
||||
|
||||
- name: Update Homebrew
|
||||
run: |
|
||||
brew update --preinstall
|
||||
echo ${{ hashFiles ('"$(brew --repository)"') }} > .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
|
||||
- name: Download Vagrant boxes for all scenarios
|
||||
# To save some cache space, all scenarios share the same cache key.
|
||||
# On the other hand, this means that the cache contents should be
|
||||
# the same across all scenarios. This step ensures that.
|
||||
run: ./.github/download-boxes.sh
|
||||
|
||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -30,12 +30,6 @@ jobs:
|
||||
* fdad:bad:ba55::/64
|
||||
EOF
|
||||
|
||||
- name: Download Vagrant boxes for all scenarios
|
||||
# To save some cache space, all scenarios share the same cache key.
|
||||
# On the other hand, this means that the cache contents should be
|
||||
# the same across all scenarios. This step ensures that.
|
||||
run: ./.github/download-boxes.sh
|
||||
|
||||
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
||||
uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # 2.3.3
|
||||
id: pip-cache
|
||||
|
||||
Reference in New Issue
Block a user