diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b96baf..0ecced5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build +name: build on: push jobs: @@ -15,6 +15,8 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v1 + with: + fetch-depth: 1 - name: Run tests run: go test -v diff --git a/README.md b/README.md index 816d571..19497d0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Capture** is a reverse proxy that takes an incoming HTTP request and sends it to another server, proxying the response back to the client, while showing them in a dashboard -[![Build Status](https://github.com/ofabricio/capture/workflows/Build/badge.svg)](https://github.com/ofabricio/capture/actions?query=workflow%3ABuild) +[![Build Status](https://github.com/ofabricio/capture/workflows/build/badge.svg)](https://github.com/ofabricio/capture/actions?query=workflow%3ABuild) [![Github Release](https://img.shields.io/github/release/ofabricio/capture.svg)](https://github.com/ofabricio/capture/releases)