Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Latest commit

 

History

History
76 lines (49 loc) · 1.86 KB

README.md

File metadata and controls

76 lines (49 loc) · 1.86 KB

Go Format Skill

Skill to run the following commands on an commit to repositories containing go.mod files:

$ go mod tidy
$ gofmt -w .
$ goimports -w .

Contributing

Contributions to this project from community members are encouraged and appreciated. Please review the Contributing Guidelines for more information. Also see the Development section in this document.

Code of conduct

This project is governed by the Code of Conduct. You are expected to act in accordance with this code by participating. Please report any unacceptable behavior to [email protected].

Connect

Follow @atomist on Twitter and The Atomist Blog.

Support

General support questions should be discussed in the #help channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install Node.js to build and test this project.

Build and test

Install dependencies.

$ npm ci

Use the build package script to compile, test, lint, and build the documentation.

$ npm run build

Release

Releases are created by pushing a release semantic version tag to the repository, Atomist Skills take care of the rest.

To make this skill globally available, set its maturity to "stable" via the set maturity drop-down in its Atomist Community Slack channel.


Created by Atomist. Need Help? Join our Slack workspace.