A GitHub action for integrating arch-go into your CI workflow.
The action expects the arch-go.yml
file (see als here), expected by arch-go in the root of the project.
As of today, the action installs arch-go by making use of go install ...
. To be able to do so, it installs the most recent go version as well.
steps:
- name: Perform architecture check
uses: dadrus/arch-go-action@master
with:
version: v1.5.2
generate-report: true
verbose: true
working-directory: ./
version
: The version of arch-go to use. Optional and defaults tolatest
.generate-report
: Whether an HTML report should be generated. Optional and defaults tofalse
. If enabled, the generated report will be available as artefact for download.verbose
: Instructs arch-go to generate verbose output, which might be helpful for debugging purposes. Optional and defaults tofalse
.working-directory
: Were to look for the code. Optional and defaults to./
relative to the default working directory (github.workspace
,$GITHUB_WORKSPACE
)
This action is licensed under the MIT License.
Contributions are very welcome!