mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-25 18:23:05 +01:00
fix(CI): Break up workflows and use templates
This commit is contained in:
6
.github/workflows/test-single-node.yml
vendored
6
.github/workflows/test-single-node.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
PYTHON_VERSION: "3.11"
|
||||
steps:
|
||||
- name: Check out the codebase
|
||||
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
EOF
|
||||
|
||||
- name: Cache pip
|
||||
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11
|
||||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 3.3.2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('./requirements.txt') }}
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
${{ runner.os }}-pip-
|
||||
|
||||
- name: Cache Vagrant boxes
|
||||
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # 3.0.11
|
||||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 3.3.2
|
||||
with:
|
||||
path: |
|
||||
~/.vagrant.d/boxes
|
||||
|
||||
Reference in New Issue
Block a user