Skip to content

Matter-Tech/matter-library-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matter-actions

Repository for the common library's GitHub actions.

It assumes the projects use hatch as the management tool.

There are three reusable action:

  • Code lint
  • Run tests
  • Release Library

Code lint

Example of code lint workflow usage:

name: Code Lint

on: push

jobs:
  code-lint:
    name: Code Lint
    uses: Matter-Tech/matter-library-actions/.github/workflows/lint.yaml@v2

Run tests

Example of run tests workflow usage:

name: Test suite

on: push

jobs:
  run-test:
    name: Run tests
    uses: Matter-Tech/matter-library-actions/.github/workflows/run-tests.yaml@v2

Release a new version

Example of release workflow usage:

name: Prepare Release
on:
  workflow_dispatch:
    inputs:
      release-type:
        description: 'Release type? (major/minor/fix)'
        required: true
        default: ''


jobs:
  release-version:
    name: Release new version
    uses: Matter-Tech/matter-library-actions/.github/workflows/release.yaml@v2
    with:
      release-type: ${{github.event.inputs.release-type}}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •