From 350de402d1f8182940d5214fd009722362ae51a0 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 12 Oct 2022 10:54:21 +0800 Subject: [PATCH 1/8] Fix coverage CI --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 330afb162d..d8472e0193 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -64,7 +64,7 @@ jobs: test-service \ --exclude-files **/mock.rs **/weights.rs **/weights/* - name: Upload to codecov.io - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) From a94db4003094047f4f873fe1cae4cc7f1b4a040f Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 12 Oct 2022 12:11:19 +0800 Subject: [PATCH 2/8] add token --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d8472e0193..a6a5fbea95 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -64,7 +64,8 @@ jobs: test-service \ --exclude-files **/mock.rs **/weights.rs **/weights/* - name: Upload to codecov.io - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v2 with: fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) + token: ${{ secrets.GITHUB_TOKEN }} From 0bdd13a43bf40d9dd0f9c3ca837742e83eb6a1d2 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 12 Oct 2022 13:42:13 +0800 Subject: [PATCH 3/8] test --- .github/workflows/coverage.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a6a5fbea95..68af5ce9df 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -67,5 +67,4 @@ jobs: uses: codecov/codecov-action@v2 with: fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) - token: ${{ secrets.GITHUB_TOKEN }} + #verbose: true # optional (default = false) From 8ed75e1b89ab6381c146f67908ed44f5697ec814 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 12 Oct 2022 14:52:36 +0800 Subject: [PATCH 4/8] test --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 68af5ce9df..330afb162d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -67,4 +67,4 @@ jobs: uses: codecov/codecov-action@v2 with: fail_ci_if_error: true # optional (default = false) - #verbose: true # optional (default = false) + verbose: true # optional (default = false) From 6136a91fb118552c4d122823596701e54620ceb9 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 12 Oct 2022 14:54:38 +0800 Subject: [PATCH 5/8] test --- .github/workflows/coverage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 330afb162d..39026f932a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -68,3 +68,4 @@ jobs: with: fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) + #verbose: true # optional (default = false) From 099fbc42abe84dc829f9cab4cf1d2b430ef0f89c Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Thu, 13 Oct 2022 11:33:11 +0800 Subject: [PATCH 6/8] Update cancel-workflow-action --- .github/workflows/build-release.yml | 2 +- .github/workflows/coverage.yml | 3 +-- .github/workflows/test.yml | 2 +- .github/workflows/test.yml.src | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b50d484e23..c2960e61fd 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -23,7 +23,7 @@ jobs: - name: Cancel Previous Runs # Only cancel non-master branch runs if: ${{ github.ref != 'refs/heads/master' }} - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 39026f932a..755c966356 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,7 +25,7 @@ jobs: - name: Cancel Previous Runs # Only cancel non-master branch runs if: ${{ github.ref != 'refs/heads/master' }} - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} test: @@ -68,4 +68,3 @@ jobs: with: fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false) - #verbose: true # optional (default = false) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7af1c03194..d2fa5b840a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Cancel Previous Runs # Only cancel non-master branch runs if: ${{ github.ref != 'refs/heads/master' }} - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} build: diff --git a/.github/workflows/test.yml.src b/.github/workflows/test.yml.src index da3e005912..22a1f9eb9d 100644 --- a/.github/workflows/test.yml.src +++ b/.github/workflows/test.yml.src @@ -22,7 +22,7 @@ jobs: - name: Cancel Previous Runs # Only cancel non-master branch runs if: ${{ github.ref != 'refs/heads/master' }} - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} build: &setup From 9b5e3e48b00cc840cccda2ed2468ef7f4c938ea7 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Thu, 13 Oct 2022 11:43:45 +0800 Subject: [PATCH 7/8] trigger GitHub actions From a3c5121efb91e164dbb04d1fdf6a7feaba47bee9 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Thu, 13 Oct 2022 14:58:56 +0800 Subject: [PATCH 8/8] add CODECOV_TOKEN --- .github/workflows/coverage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 755c966356..2046c4c31d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -66,5 +66,6 @@ jobs: - name: Upload to codecov.io uses: codecov/codecov-action@v2 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true # optional (default = false) verbose: true # optional (default = false)