From 1543e98b875f73725aa66ecc6eaefdb751c460a0 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 13 Dec 2023 17:09:46 +0100 Subject: [PATCH] Restore codecov export and update README badges --- .github/workflows/build.yml | 5 +++++ README.md | 13 +++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4faf8f..3eac9b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,5 +44,10 @@ jobs: - name: Go Test run: go test -v -race --tags redis -coverprofile=coverage.txt -covermode=atomic ./... + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4-beta + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Build run: go build ./... diff --git a/README.md b/README.md index dbaa28c..18f8090 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ [![Coverage][ico-coverage]][link-coverage] [![Keep a Changelog][ico-changelog]](CHANGELOG.md) [![Software License][ico-license]](LICENSE) -[![FOSSA Status][ico-fossa]][link-fossa] Chrly is a lightweight implementation of Minecraft skins system server with ability to proxy requests to Mojang's skins system. It's packaged and distributed as a Docker image and can be downloaded from @@ -490,18 +489,12 @@ If your Redis instance isn't located at the `localhost`, you can change host by After all of that `go run main.go serve` should successfully start the application. To run tests execute `go test ./...`. -## License -[![FOSSA Status][ico-fossa-big]][link-fossa] - -[ico-lang]: https://img.shields.io/badge/lang-go%201.14-blue.svg?style=flat-square -[ico-build]: https://img.shields.io/travis/elyby/chrly.svg?style=flat-square +[ico-lang]: https://img.shields.io/github/go-mod/go-version/elyby/chrly?style=flat-square +[ico-build]: https://img.shields.io/github/actions/workflow/status/elyby/chrly/build.yml?style=flat-square [ico-coverage]: https://img.shields.io/codecov/c/github/elyby/chrly.svg?style=flat-square [ico-changelog]: https://img.shields.io/badge/keep%20a-changelog-orange.svg?style=flat-square [ico-license]: https://img.shields.io/github/license/elyby/chrly.svg?style=flat-square -[ico-fossa]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Felyby%2Fchrly.svg?type=shield -[ico-fossa-big]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Felyby%2Fchrly.svg?type=large [link-go]: https://golang.org -[link-build]: https://travis-ci.org/elyby/chrly +[link-build]: https://github.com/elyby/chrly/actions [link-coverage]: https://codecov.io/gh/elyby/chrly -[link-fossa]: https://app.fossa.io/projects/git%2Bgithub.com%2Felyby%2Fchrly