The directory .github/workflows contains the centralized workflows.
The directory workflow-templates contains templates for some general CI/CD workflows.
The front-end ui- and stripes- repositories are currently being migrated to the centralized "UI" workflows.
The back-end Maven-based repositories are currently being migrated to the centralized "Maven" workflows FOLIO-4443.
Workflows for Go-based back-end repositories are implemented for mod-reporting.
Centralized workflows are still to be developed to replace the old API workflow templates.
Refer to the various types of centralized workflows, including their setup and configuration:
- README-UI.md -- for the front-end repositories.
- README-docker.md -- for repositories that only have a Dockerfile.
- README-go.md and README-go-lint.md -- for Go-based back-end repositories.
- README-maven.md -- for Maven-based back-end repositories.
Install actionlint.
While developing Workflows run actionlint prior to each commit. It is very helpful for identifying syntax and mis-configuration problems, which are otherwise difficult to diagnose.
It includes "shellcheck". The following typical invocation skips some well-known shellcheck basic issues:
SHELLCHECK_OPTS='--exclude=SC2086,SC2046' actionlint *.yml
There is an automated workflow that will run actionlint on pull-requests.