Skip to content

Commit

Permalink
chore: update codecov action version and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Dec 21, 2023
1 parent 59e4bb7 commit 20e35cc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: cargo tarpaulin -p ptrie --doc --tests --out xml

- name: Upload to codecov.io
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false
token: ${{secrets.CODECOV_TOKEN}}
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ repos:
- repo: local
hooks:
- id: rustfmt
name: 🦀 Format Rust files
name: 🧹 Format Rust files
description: Check if all files follow the rustfmt style
entry: cargo fmt
language: system
pass_filenames: false
- id: clippy
name: 📎 Lint with Clippy
entry: cargo clippy --all --all-targets --all-features
language: system
pass_filenames: false
# - id: git-cliff
# name: 🏔️ Update changelog
# entry: git cliff -o CHANGELOG.md
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ cargo tarpaulin -p ptrie --doc --tests --out html

> Start web server for the cov report: `python -m http.server`
### 🧹 Format and lint

```bash
cargo fmt
cargo clippy --all --all-targets --all-features
```

### 📚 Docs

Generate docs locally:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ The `serde` feature adds Serde `Serialize` and `Deserialize` traits to the `Trie
ptrie = { version = "0.5", features = ["serde"] }
```

## 🛠️ Contributing

Contributions are welcome, checkout the [`CONTRIBUTING.md`](https://github.com/vemonet/ptrie/blob/main/CONTRIBUTING.md) for instructions to run the project in development.

## 📜 License

[MIT License](https://opensource.org/licenses/MIT)

0 comments on commit 20e35cc

Please sign in to comment.