This repository contains common infrastructure (pre-commit hooks, reusable workflows for GitHub Actions, etc.)
See CONTRIBUTING.md.
The pre-commit hook runs Apache RAT, which checks and ensures proper copyright/license headers are present.
Add this repository to your .pre-commit-config.yaml:
- repo: https://github.com/adbc-drivers/dev
rev: "<latest rev on main>"
hooks:
- id: ratThere are various reusable workflows. They can be used
by adding a uses: clause to your own workflow. For example:
jobs:
lint:
uses: adbc-drivers/dev/.github/workflows/dev.yaml@REVISIONdev.yaml: runspre-commitand checks that the PR title meets the Conventional Commits standard.dev_issues.yaml: intended to be run when a "take" comment is made on an issue. Assigns the issue to the commenter.release.yaml: create a draft release on GitHub with an attached changelog.test.yaml: build and test a Go-based driver. If tests pass, also create shared libraries for each platform/architecture.validate.yaml: run the validation suite.
You can pip install . to install the utility scripts. This should be done
with a virtual environment or Conda environment active.