Skip to content

Collections of workflow used by ShuttlePub repositories

Notifications You must be signed in to change notification settings

ShuttlePub/workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 

Repository files navigation

Workflow Collections

Worflows

Runs lint and test

ShuttlePub/workflows/.github/workflows/check.yml@main

Inputs

name example
workspace '[ "kernel", "driver" ]'

Runs lint and test with PostgreSQL

ShuttlePub/workflows/.github/workflows/test-psql.yml@main

Inputs

name example
workspace '[ "kernel", "driver" ]'

Generage coverage and upload to covecov

ShuttlePub/workflows/.github/workflows/coverage.yml@main

Secrets

  • CODECOV_TOKEN

Benchmark each workspaces

ShuttlePub/workflows/.github/workflows/bench.yml@main

Inputs

name default
features async,tokio-support
compare-branch main

Validates pull request title

ShuttlePub/workflows/.github/workflows/validate-pr.yml@main

name: Validate PR title

on:
  pull_request_target:
    types:
      - opened
      - edited
      - synchronize
    
jobs:
  validate:
    uses: ShuttlePub/workflows/.github/workflows/validate-pr.yml@main

Example

name: check
on:
  pull_request:
    branches:
      - dev

jobs:
  build:
    uses: ShuttlePub/workflows/.github/workflows/bench.yml@main
    with:
      compare-branch: dev 

Sub workflows

Detect workspaces and outputs with matrix compatible format

ShuttlePub/workflows/.github/workflows/detect-workspaces.yml@main

outputs

name example
matrix ["kernel", "driver"]

Read toolchain channel from rust-toolchain.toml

ShuttlePub/workflows/.github/workflows/read-toolchain.yml@main

outputs

name example
channel stable

About

Collections of workflow used by ShuttlePub repositories

Resources

Stars

Watchers

Forks