-
-
Notifications
You must be signed in to change notification settings - Fork 6
v0.0.9 #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
v0.0.9 #100
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
1e97494
tests(vamo-macros): added back bora unit tests
ararog 6ece810
docs(all): added badges to crates README, improved GHA workflow.
ararog 1308a74
test(deboa): added missing tests
ararog 81f29ba
style(deboa): grouped imports
ararog 3d3b46e
docs(vamo, vamo-macros): improved documentation with examples
ararog 2e87aa4
feat(deboa-extras): replaced serde_json by sonic-rs
ararog c980786
docs(deboa): fixed badges on READMEs
ararog b4842b9
fix(deboa): correct error enum variant usage
ararog dab6e36
fix(deboa): added time crate to fix lib build within msrv
ararog 5a5483d
chore(all): bumped crates release versions
ararog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Code Coverage | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| cover: | ||
| runs-on: ubuntu-latest | ||
| container: | ||
| image: xd009642/tarpaulin:develop-nightly | ||
| options: --security-opt seccomp=unconfined | ||
| services: | ||
| redis: | ||
| image: redis:5.0.7 | ||
| ports: | ||
| - 6379:6379 | ||
| options: --entrypoint redis-server | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - name: Install Protoc | ||
| uses: arduino/setup-protoc@v1 | ||
| - name: Install Redis | ||
| run: | | ||
| apt-get update | ||
| apt-get install -y redis-server | ||
| redis-server --daemonize yes | ||
| redis-cli ping | ||
| - name: Generate code coverage | ||
| run: | | ||
| cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml | ||
| - name: Upload To codecov.io | ||
| uses: codecov/codecov-action@v3 | ||
| with: | ||
| token: ${{secrets.CODECOV_TOKEN}} | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 9 months ago
To fix the problem, we should add an explicit
permissionsblock to the job that is missing it. This block should specify the least privileges required. In this workflow, the jobcoverdoes not appear to need to write back to the repository (it only checks out code, installs dependencies, runs tests, and uploads coverage results). Therefore, settingpermissions: contents: readat the job level (just aboveruns-on:) ensures only read access to repository contents, adhering to the principle of least privilege. No new imports or action changes are needed; only the YAML configuration is updated.