Github CI Updates (#6522)

* Bump unit tests OS
* Bump action cache version to v3
* Rework cache naming scheme

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola 2022-11-21 12:58:50 -08:00 committed by GitHub
parent f4c80a470c
commit 71eacd22aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -56,7 +56,7 @@ jobs:
uses: actions/download-artifact@v2
with: { name: k3s, path: dist/artifacts/ }
- name: "Vagrant Cache"
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.vagrant.d/boxes

View file

@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v2
with: {fetch-depth: 1}
- name: "Vagrant Cache"
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.vagrant.d/boxes

View file

@ -28,12 +28,12 @@ jobs:
uses: actions/checkout@v2
with: {fetch-depth: 1}
- name: "Vagrant Cache"
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.vagrant.d/boxes
~/.vagrant.d/gems
key: install-${{ hashFiles(format('tests/install/{0}/Vagrantfile', matrix.vm)) }}
key: install-${{ matrix.vm }}-${{ hashFiles('tests/install/${{ matrix.vm }}/Vagrantfile') }}
id: vagrant-cache
continue-on-error: true
- name: "Vagrant Plugin(s)"

View file

@ -58,7 +58,7 @@ jobs:
uses: actions/download-artifact@v2
with: { name: k3s, path: dist/artifacts/ }
- name: "Vagrant Cache"
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.vagrant.d/boxes

View file

@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-22.04]
timeout-minutes: 20
steps:
- name: Checkout