From 9a03e45a9218474326a8463d47dbac918642d1aa Mon Sep 17 00:00:00 2001 From: Ahoo Wang Date: Thu, 18 Jan 2024 11:57:36 +0800 Subject: [PATCH] add Badge --- .github/workflows/gitee-sync.yml | 19 +++++++++++++++++++ README.md | 7 +++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/gitee-sync.yml diff --git a/.github/workflows/gitee-sync.yml b/.github/workflows/gitee-sync.yml new file mode 100644 index 0000000..6c2f282 --- /dev/null +++ b/.github/workflows/gitee-sync.yml @@ -0,0 +1,19 @@ +name: Sync to Gitee +on: + schedule: + - cron: '0 0 * * *' + push: + branches: + - main + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + with: + source-repo: "git@github.com:Ahoo-Wang/CoApi.git" + destination-repo: "git@gitee.com:AhooWang/CoApi.git" \ No newline at end of file diff --git a/README.md b/README.md index c4c1753..05c5aed 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # CoApi +[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://github.com/Ahoo-Wang/CoApi/blob/mvp/LICENSE) +[![GitHub release](https://img.shields.io/github/release/Ahoo-Wang/CoApi.svg)](https://github.com/Ahoo-Wang/CoApi/releases) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.ahoo.coapi/api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/me.ahoo.coapi/api) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/709bea2aec1d4cfd85991edf66b5ccbc)](https://app.codacy.com/gh/Ahoo-Wang/CoApi/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) +[![Codecov](https://codecov.io/gh/Ahoo-Wang/CoApi/graph/badge.svg?token=ayVd7lthB6)](https://codecov.io/gh/Ahoo-Wang/CoApi) +[![Integration Test Status](https://github.com/Ahoo-Wang/CoApi/actions/workflows/integration-test.yml/badge.svg)](https://github.com/Ahoo-Wang/CoApi) + In Spring Framework 6, a new HTTP client, [Spring6 HTTP Interface](https://docs.spring.io/spring-framework/reference/integration/rest-clients.html#rest-http-interface), has been introduced. This interface allows developers to define HTTP services as Java interfaces using the `@HttpExchange` annotation. However, automatic configuration support is not yet provided in the current version, and developers need to implement configurations manually.