From a9f0c2f7e10a2c17f4d7dacfa84a2c3e1394e130 Mon Sep 17 00:00:00 2001 From: Guangming Luo Date: Sat, 28 Jan 2023 14:48:25 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2087708..06fc53a 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ func main() { ## More info -See example. +See [example](/example). ## Compatibility From 9d61f22aea2ce1701939c0e0c6e5011c7dd1fe23 Mon Sep 17 00:00:00 2001 From: Guangming Luo Date: Sat, 28 Jan 2023 15:15:23 +0800 Subject: [PATCH 2/2] remove static check --- .github/workflows/pr-check.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 56bbedd..dedbc4f 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -16,33 +16,6 @@ jobs: - name: Check Spell uses: crate-ci/typos@master - staticcheck: - runs-on: [ self-hosted, X64 ] - steps: - - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.19 - - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: reviewdog-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - reviewdog-${{ runner.os }}-go- - - uses: reviewdog/action-staticcheck@v1 - with: - github_token: ${{ secrets.github_token }} - # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. - reporter: github-pr-review - # Report all results. - filter_mode: nofilter - # Exit with 1 when it find at least one finding. - fail_on_error: true - # Set staticcheck flags - staticcheck_flags: -checks=inherit,-SA1029 - lint: runs-on: [ self-hosted, X64 ] steps: