diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..78ddc05 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,14 @@ +on: [push, pull_request] +name: Test +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Install Go + uses: actions/setup-go@v1 + with: + go-version: 1.16.x + - name: Checkout code + uses: actions/checkout@v2 + - name: Test + run: go test ./... \ No newline at end of file diff --git a/README.md b/README.md index 5e684c5..c9d4192 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# go-echo-cache +# go-echo-cache [![GoDoc](https://godoc.org/github.com/gitsight/go-echo-cache?status.svg)](https://pkg.go.dev/github.com/gitsight/go-echo-cache) [![Test](https://github.com/gitsight/go-echo-cache/workflows/Test/badge.svg)](https://github.com/gitsight/go-echo-cache/actions?query=workflow%3ATest+branch%3Amaster) *go-echo-cache*, is a server-side HTTP cache middleware designed to work with [Echo framework](https://echo.labstack.com/).