Skip to content

Eomm/workflows

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Workflows

Reusable workflows for use in the Fastify organization.

Intro

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.

Usage

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: true

Included in this repo is a basic workflow for use across the majority of plugins, as well as variants with service containers.

Inputs

Input Name Required Type Default Description
generate-coverage false boolean false Set to true to generate coverage and send to Coveralls.

Acknowledgements

This project is kindly sponsored by:

License

Licensed under MIT.

About

Reusable workflows for use in the Fastify organization

Resources

License

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors