template
template copied to clipboard
Template for a generic rust project hosted on GitHub
```text Run coverallsapp/github-action@master with: github-token: *** path-to-lcov: ./lcov.info coveralls-endpoint: https://coveralls.io env: CACHE_ON_FAILURE: false CARGO_INCREMENTAL: 0 Using lcov file: ./lcov.info Error: "[2](https://github.com/pplmx/ip-tools/runs/7628225107?check_suite_focus=true#step:6:2)022-08-02T09:11:[3](https://github.com/pplmx/ip-tools/runs/7628225107?check_suite_focus=true#step:6:3)3.[7](https://github.com/pplmx/ip-tools/runs/7628225107?check_suite_focus=true#step:6:7)7[8](https://github.com/pplmx/ip-tools/runs/7628225107?check_suite_focus=true#step:6:8)Z" 'error from lcovParse: ' 'Failed to parse string' Error:...
It is annoying to manually merge dependabot PRs. We could use https://mergify.com/ to auto-approve and auto-merge dependabot PRs. It is free for open source projects.
Environment variable `CARGO_REGISTRY_TOKEN` is suggested for CI. Check if you can use it instead of `CARGO_API_KEY`. docs [here](https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials) You can probably remove this line after: https://github.com/rust-github/template/blob/44d7942c4f3348e9e6ab9d5239b332c57bcbd718/template/.github/workflows/cd.yml#L121 Also update the website...
## Motivations https://github.com/babel/babel/issues/new/choose ([bug report](https://github.com/babel/babel/blob/main/.github/ISSUE_TEMPLATE/bug_report.yml) and [feature request](https://github.com/babel/babel/blob/main/.github/ISSUE_TEMPLATE/feature_request.yml)) are really cool! If you use the input box, you don't have to deal with markdown comments. ## Solution Can we bring...
Add to [cd](https://github.com/rust-github/template/blob/master/.github/workflows/cd.yml) a job to automatically publish to the [snap store](https://snapcraft.io/store). - GitHub action that could be used on tag: https://github.com/samuelmeuli/action-snapcraft - Instructions for creating a rust snap: https://snapcraft.io/docs/rust-applications...
This adds the cut/paste llvm-cov job from the [docs](https://github.com/taiki-e/cargo-llvm-cov?tab=readme-ov-file#continuous-integration). I tested this by creating a project with the template and put it here: I removed the call to upload the...
In https://github.com/rust-github/template/pull/43 I removed the current code coverage approach because it wasn't working anymore. What's the best way to do code coverage in rust today? Possibilities: - https://github.com/taiki-e/cargo-llvm-cov (example [here](https://github.com/jonhoo/cargo-index-transit/blob/4f33e70a7c4bcd01f7ed0209f2e33b4ebe38950e/.github/workflows/test.yml#L103))
They are unmaintained. I have done some progress in https://github.com/rust-github/template/pull/45 but they are still present.
Simplify workflow and make it useful for forked repos
see https://github.com/rust-github/template/pull/67#discussion_r1997555202