Skip to content

Commit 28acbfc

Browse files
authored
fix: correct badge URL casing and upgrade codecov action to v5 (#38)
- Fix SecBear casing in CI and Codecov badge URLs - Upgrade codecov-action from v4 to v5 (better GitHub App integration) - Pass token via `with` instead of `env` (v5 convention)
1 parent e416b15 commit 28acbfc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ jobs:
4141
- name: Generate coverage
4242
run: cargo tarpaulin --workspace --out xml --output-dir coverage/
4343
- name: Upload to Codecov
44-
uses: codecov/codecov-action@v4
44+
uses: codecov/codecov-action@v5
4545
with:
4646
files: coverage/cobertura.xml
47+
token: ${{ secrets.CODECOV_TOKEN }}
4748
fail_ci_if_error: false
48-
env:
49-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5049

5150
security:
5251
name: Security Audit

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# neuron
22

3-
[![CI](https://github.com/secbear/neuron/actions/workflows/ci.yml/badge.svg)](https://github.com/secbear/neuron/actions/workflows/ci.yml)
4-
[![codecov](https://codecov.io/gh/secbear/neuron/graph/badge.svg)](https://codecov.io/gh/secbear/neuron)
3+
[![CI](https://github.com/SecBear/neuron/actions/workflows/ci.yml/badge.svg)](https://github.com/SecBear/neuron/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/SecBear/neuron/graph/badge.svg)](https://codecov.io/gh/SecBear/neuron)
55
[![crates.io](https://img.shields.io/crates/v/neuron.svg)](https://crates.io/crates/neuron)
66
[![docs.rs](https://docs.rs/neuron/badge.svg)](https://docs.rs/neuron)
77
[![MSRV](https://img.shields.io/badge/MSRV-1.90-blue.svg)](https://blog.rust-lang.org/)

0 commit comments

Comments
 (0)