Skip to content

tests(vamo-macros): added back bora unit tests#95

Merged
ararog merged 10 commits intodevelopfrom
v0.0.9
Dec 9, 2025
Merged

tests(vamo-macros): added back bora unit tests#95
ararog merged 10 commits intodevelopfrom
v0.0.9

Conversation

@ararog
Copy link
Copy Markdown
Owner

@ararog ararog commented Dec 2, 2025

No description provided.

@ararog ararog added this to the v0.0.9 milestone Dec 2, 2025
@ararog ararog self-assigned this Dec 2, 2025
@ararog ararog added the enhancement New feature or request label Dec 2, 2025
Comment on lines +10 to +36
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}} No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 5 months ago

To fix this issue, you should add a permissions block to the workflow so that the GitHub Actions job runs with the minimal necessary privileges. In this case, the workflow performs a code checkout and uploads code coverage data to an external service. Thus, it only needs to read repository contents. Insert permissions: contents: read at the top level of the workflow file, directly after the workflow name, so that it applies to all jobs in the workflow. No other methods, imports, or definitions are required for this edit; a single line suffices.


Suggested changeset 1
.github/workflows/code-coverage.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml
--- a/.github/workflows/code-coverage.yml
+++ b/.github/workflows/code-coverage.yml
@@ -1,4 +1,6 @@
 name: Code Coverage
+permissions:
+  contents: read
 
 on:
   push:
EOF
@@ -1,4 +1,6 @@
name: Code Coverage
permissions:
contents: read

on:
push:
Copilot is powered by AI and may make mistakes. Always verify output.
@ararog ararog merged commit 5a5483d into develop Dec 9, 2025
5 checks passed
@ararog ararog deleted the v0.0.9 branch December 9, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants