mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-06-22 05:31:58 +00:00
Extend CI workflow by adding tests
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
0491ac552e
commit
3c9c44842c
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -12,6 +12,10 @@ jobs:
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.14
|
||||
- name: Ensure go.mod is already tidied
|
||||
run: go mod tidy && git diff --no-patch --exit-code
|
||||
- name: Run unit tests
|
||||
run: go test ./...
|
||||
- name: GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user