From 774893928cedadeab6dc652318a660d822571df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 2 Jul 2024 16:39:51 +0800 Subject: [PATCH] Add crazy badges to README --- .github/workflows/lint.yml | 2 +- .github/workflows/{debug.yml => test.yml} | 14 +++++++------- README.md | 3 +++ 3 files changed, 11 insertions(+), 8 deletions(-) rename .github/workflows/{debug.yml => test.yml} (90%) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d79a55e..81b3435 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: Lint +name: lint on: push: diff --git a/.github/workflows/debug.yml b/.github/workflows/test.yml similarity index 90% rename from .github/workflows/debug.yml rename to .github/workflows/test.yml index ae0e5c0..1802d8a 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Debug build +name: test on: push: @@ -16,7 +16,7 @@ on: jobs: build: - name: Linux Debug build + name: Linux runs-on: ubuntu-latest steps: - name: Checkout @@ -31,7 +31,7 @@ jobs: run: | make test build_go120: - name: Linux Debug build (Go 1.20) + name: Linux (Go 1.20) runs-on: ubuntu-latest steps: - name: Checkout @@ -47,7 +47,7 @@ jobs: run: | make test build_go121: - name: Linux Debug build (Go 1.21) + name: Linux (Go 1.21) runs-on: ubuntu-latest steps: - name: Checkout @@ -62,8 +62,8 @@ jobs: - name: Build run: | make test - build__windows: - name: Windows Debug build + build_windows: + name: Windows runs-on: windows-latest steps: - name: Checkout @@ -79,7 +79,7 @@ jobs: run: | make test build_darwin: - name: macOS Debug build + name: macOS runs-on: macos-latest steps: - name: Checkout diff --git a/README.md b/README.md index 95c7df5..196adab 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # sing +![test](https://github.com/sagernet/sing/actions/workflows/test.yml/badge.svg) +![lint](https://github.com/sagernet/sing/actions/workflows/lint.yml/badge.svg) + Do you hear the people sing? \ No newline at end of file