Skip to content

Commit 040058d

Browse files
authored
Change codecov upload (#227)
* FIX codecov upload --------- Signed-off-by: Gabriele Santomaggio <g.santomaggio@gmail.com>
1 parent 49c7103 commit 040058d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
tags: rabbitmq_tls:latest
2929
outputs: type=docker,dest=/tmp/rabbitmq_tls.tar
3030
- name: Upload artifact
31-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
3232
with:
3333
name: rabbitmq_tls
3434
path: /tmp/rabbitmq_tls.tar
3535
- name: Download artifact
36-
uses: actions/download-artifact@v3
36+
uses: actions/download-artifact@v4
3737
with:
3838
name: rabbitmq_tls
3939
path: /tmp
@@ -52,7 +52,7 @@ jobs:
5252
docker exec rabbitmq-stream-client-test /bin/bash -c 'rabbitmqctl status'
5353
docker exec rabbitmq-stream-client-test /bin/bash -c 'rabbitmqctl wait --pid 1 --timeout 70'
5454
- name: Install latest ${{ matrix.rust }}
55-
uses: actions-rs/toolchain@v1
55+
uses: actions-rs/toolchain@v1.0.6
5656
with:
5757
toolchain: ${{ matrix.rust }}
5858
profile: minimal
@@ -66,9 +66,13 @@ jobs:
6666
uses: taiki-e/install-action@cargo-llvm-cov
6767
- name: Generate code coverage
6868
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info --ignore-filename-regex benchmark
69-
- name: Upload coverage to Codecov
70-
uses: codecov/codecov-action@v3
69+
- name: Codecov
70+
uses: codecov/codecov-action@v4.5.0
7171
with:
72-
token: ${{ secrets.CODECOV_TOKEN }}
73-
files: lcov.info
74-
fail_ci_if_error: true
72+
fail_ci_if_error: false
73+
name: codecov-umbrella # optional
74+
verbose: true # optional (default = false)
75+
env:
76+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
77+
78+

0 commit comments

Comments
 (0)