diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..95a2bb1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: build + +on: + - push + - pull_request + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.14 + - name: Run go test + run: go test ./... -v \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad29a49..b47c632 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: goreleaser +name: release on: push: @@ -11,8 +11,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Unshallow - run: git fetch --prune --unshallow - name: Set up Go uses: actions/setup-go@v2 with: diff --git a/README.md b/README.md index 5a9e799..5fbf551 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ + # git-get -`git get` - a better way to clone, organize and manage git repositories. +![](https://github.com/grdl/git-get/workflows/build/badge.svg) +[![Go Report Card](https://goreportcard.com/badge/github.com/grdl/git-get)](https://goreportcard.com/report/github.com/grdl/git-get) +`git-get` is better way to clone, organize and manage git repositories.