-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add golang ci lint workflow (#5)
* readme: update with help text * ci: add lint workflow * fix lint errors
- Loading branch information
1 parent
de8aecb
commit 3630d34
Showing
3 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: golangci-lint | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: stable | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: v1.60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
# ddn-assets | ||
|
||
DDN asset management tool | ||
DDN asset management tool. This tool takes [ndc-hub](https://github.com/hasura/ndc-hub) as the source of information and produces assets for usage in Hasura DDN. | ||
|
||
# Run | ||
## Usage | ||
|
||
``` | ||
NDC_HUB_GIT_REPO_FILE_PATH="~/ndc-hub" ddn-assets | ||
Tool for managing Hasura DDN assets | ||
Usage: | ||
ddn-assets [flags] | ||
ddn-assets [command] | ||
Available Commands: | ||
completion Generate the autocompletion script for the specified shell | ||
generate Generate assets | ||
help Help about any command | ||
validate Validate assets | ||
Flags: | ||
-h, --help help for ddn-assets | ||
Use "ddn-assets [command] --help" for more information about a command. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters