steps-check

command module
v0.0.0-...-5af77eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: MIT Imports: 19 Imported by: 0

README

Shared internal checks

This repo contains shared (internal) checks and workflows for first-party Bitrise steps and other Bitrise codebases.

Why? To avoid duplication in ~100 step repos and to have a single source of truth for the checks and workflows.

Legacy checks

This repo started as a custom Golang step that got included in step repo bitrise.ymls. Essentially, it runs ./checks.bitrise.yml.

There are still repos using this legacy pattern, but it's not recommended to add new checks there, just migrate the repos to the modern shared workflows discussed below.

Modern shared workflows

The modern way to share checks and workflows is to use the bitrise.yml include feature.

This repo defines a couple of reusable step bundles and workflows, such as:

Usage in step repos:

include:
- repository: steps-check
  branch: master
  path: steps.bitrise.yml

bitrise run check executes the check workflow defined in steps.bitrise.yml, which includes all step-related shared checks.

Usage in non-step repos:

Include the relevant pieces individually, then add them to the desired workflow. For example:

include:
- repository: steps-check
  branch: master
  path: yamlfmt.bitrise.yml
- repository: steps-check
  branch: master
  path: golang.bitrise.yml

workflows:
  pr-validation:
    steps:
    # [...] other steps
    - bundle::yamlfmt: {}
    - bundle::golangci-lint:
        inputs:
        - golangci_lint_version: 2.11.4
    - bundle::go-test: {}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL