Unverified Commit 71eacd22 authored by Derek Nola's avatar Derek Nola Committed by GitHub

Github CI Updates (#6522)

* Bump unit tests OS * Bump action cache version to v3 * Rework cache naming scheme Signed-off-by: 's avatarDerek Nola <derek.nola@suse.com>
parent f4c80a47
...@@ -56,7 +56,7 @@ jobs: ...@@ -56,7 +56,7 @@ jobs:
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: { name: k3s, path: dist/artifacts/ } with: { name: k3s, path: dist/artifacts/ }
- name: "Vagrant Cache" - name: "Vagrant Cache"
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.vagrant.d/boxes ~/.vagrant.d/boxes
......
...@@ -49,7 +49,7 @@ jobs: ...@@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: {fetch-depth: 1} with: {fetch-depth: 1}
- name: "Vagrant Cache" - name: "Vagrant Cache"
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.vagrant.d/boxes ~/.vagrant.d/boxes
......
...@@ -28,12 +28,12 @@ jobs: ...@@ -28,12 +28,12 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: {fetch-depth: 1} with: {fetch-depth: 1}
- name: "Vagrant Cache" - name: "Vagrant Cache"
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.vagrant.d/boxes ~/.vagrant.d/boxes
~/.vagrant.d/gems ~/.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 id: vagrant-cache
continue-on-error: true continue-on-error: true
- name: "Vagrant Plugin(s)" - name: "Vagrant Plugin(s)"
......
...@@ -58,7 +58,7 @@ jobs: ...@@ -58,7 +58,7 @@ jobs:
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: { name: k3s, path: dist/artifacts/ } with: { name: k3s, path: dist/artifacts/ }
- name: "Vagrant Cache" - name: "Vagrant Cache"
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.vagrant.d/boxes ~/.vagrant.d/boxes
......
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, ubuntu-20.04] os: [ubuntu-20.04, ubuntu-22.04]
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- name: Checkout - name: Checkout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment