From 9fc5f427dc12b14a61c6112184a2cf4278194911 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 23 Jun 2024 14:01:57 +0800 Subject: [PATCH] chore: add commit lint and rename yml --- .github/workflows/{unit-testing.yml => ci.yml} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename .github/workflows/{unit-testing.yml => ci.yml} (94%) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/ci.yml similarity index 94% rename from .github/workflows/unit-testing.yml rename to .github/workflows/ci.yml index 6bfb9ccb..433542ff 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/ci.yml @@ -52,4 +52,9 @@ jobs: - uses: fgrosse/go-coverage-report@v1.0.2 # Consider using a Git revision for maximum security with: coverage-artifact-name: "code-coverage" # can be omitted if you used this default value - coverage-file-name: "coverage.txt" # can be omitted if you used this default value \ No newline at end of file + coverage-file-name: "coverage.txt" # can be omitted if you used this default value + + commit_lint: + runs-on: ubuntu-latest + steps: + - uses: wagoid/commitlint-github-action@v6 \ No newline at end of file