Skip to content

Commit

Permalink
chore: Refactor workflows (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kavinraja-G authored Oct 21, 2023
1 parent a5fe425 commit 6243093
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pr
name: PR Build

on:
push:
Expand Down Expand Up @@ -26,4 +26,11 @@ jobs:
run: go build -v ./...

- name: Go Test
run: go test -v ./...
run: go test -v ./...

- name: Update coverage report
uses: ncruces/[email protected]
with:
report: true
reuse-go: true
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release

on:
push:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# node-gizmo
A CLI utility for your Kubernetes nodes.

[![Build](https://github.com/Kavinraja-G/node-gizmo/actions/workflows/pr.yaml/badge.svg)](https://github.com/Kavinraja-G/node-gizmo/actions/workflows/pr.yaml)
[![Release](https://github.com/Kavinraja-G/node-gizmo/actions/workflows/release.yml/badge.svg)](https://github.com/Kavinraja-G/node-gizmo/actions/workflows/release.yml)
[![Go Coverage](https://github.com/Kavinraja-G/node-gizmo/wiki/coverage.svg)](https://raw.githack.com/wiki/Kavinraja-G/node-gizmo/coverage.html)

### Installation
nodegizmo kubectl plugin is available in [krew](https://krew.sigs.k8s.io/) plugin manager. Anyone can install with the following steps:
1. Install `krew` for kuebctl using the following [doc](https://krew.sigs.k8s.io/docs/user-guide/setup/install/).
Expand Down

0 comments on commit 6243093

Please sign in to comment.