forked from tim/k3s-ansible
fix(CI): Break up workflows and use templates
This commit is contained in:
18
.github/workflows/test-default.yml
vendored
18
.github/workflows/test-default.yml
vendored
@@ -1,10 +1,12 @@
|
||||
---
|
||||
name: Test Default
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Check out the codebase
|
||||
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: ./.github/workflows/molecule-template.yml
|
||||
on:
|
||||
workflow_call:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Check out the codebase
|
||||
uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: ./.github/workflows/molecule-template.yml
|
||||
|
||||
Reference in New Issue
Block a user