Reusable workflows for use in the Fastify organization.
GitHub introduced reusable workflows on 2021-11-29 which, as the name suggests, are workflows that can be referenced across the entirety of GitHub.
For more information, including limitations, see the GitHub Docs.
A reusable workflow is called by using the uses keyword in another workflow:
name: CI
on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
call-reuseable-workflow:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v1
with:
generate-coverage: trueIncluded in this repo is a basic workflow for use across the majority of plugins, as well as variants with service containers.
| Input Name | Required | Type | Default | Description |
|---|---|---|---|---|
generate-coverage |
false | boolean | false |
Set to true to generate coverage and send to Coveralls. |
This project is kindly sponsored by:
Licensed under MIT.