Skip to content

A GitHub action for integrating arch-go into your CI workflow

License

Notifications You must be signed in to change notification settings

arch-go/arch-go-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arch-go-action

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.

Usage

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 to latest.
  • generate-report: Whether an HTML report should be generated. Optional and defaults to false. 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 to false.
  • working-directory: Were to look for the code. Optional and defaults to ./ relative to the default working directory (github.workspace, $GITHUB_WORKSPACE)

License

This action is licensed under the MIT License.

Contributions

Contributions are very welcome!

About

A GitHub action for integrating arch-go into your CI workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published