Skip to content

chore: migrate tooling to Ruff, expand CI, add Makefile and IaC workf… #4

chore: migrate tooling to Ruff, expand CI, add Makefile and IaC workf…

chore: migrate tooling to Ruff, expand CI, add Makefile and IaC workf… #4

Triggered via pull request April 10, 2026 21:25
Status Failure
Total duration 38s
Artifacts

ci.yml

on: pull_request
Lint & Format
10s
Lint & Format
Security Scan
33s
Security Scan
Test Suite
16s
Test Suite
Terraform Validate & Security
0s
Terraform Validate & Security
AI Code Review
7s
AI Code Review
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
ruff (W292): src/example/calculator.py#L25
src/example/calculator.py:25:18: W292 No newline at end of file help: Add trailing newline
ruff (W291): src/example/calculator.py#L25
src/example/calculator.py:25:17: W291 Trailing whitespace help: Remove trailing whitespace
ruff (W293): src/example/calculator.py#L21
src/example/calculator.py:21:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W293): src/example/calculator.py#L17
src/example/calculator.py:17:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W293): src/example/calculator.py#L9
src/example/calculator.py:9:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W293): src/example/calculator.py#L5
src/example/calculator.py:5:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W292): src/example/__init__.py#L1
src/example/__init__.py:1:48: W292 No newline at end of file help: Add trailing newline
ruff (W291): src/example/__init__.py#L1
src/example/__init__.py:1:47: W291 Trailing whitespace help: Remove trailing whitespace
ruff (F401): app/main.py#L3
app/main.py:3:8: F401 `psycopg` imported but unused help: Remove unused import: `psycopg`
ruff (I001): app/main.py#L1
app/main.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports
Test Suite
Process completed with exit code 1.
AI Code Review
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, coderabbitai/ai-pr-reviewer@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
AI Code Review
Skipped: failed to create summary bot, please check your openai_api_key: Error: Unable to initialize the OpenAI API, both 'OPENAI_API_KEY' environment variable are not available, backtrace: Error: Unable to initialize the OpenAI API, both 'OPENAI_API_KEY' environment variable are not available at new Bot (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:3815:19) at run (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:4646:20) at /home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:4689:7 at __nccwpck_require__.a (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:35966:13) at 3109 (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:4623:21) at __nccwpck_require__ (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:35899:43) at /home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:36107:37 at Object.<anonymous> (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/v1/dist/index.js:36110:12) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
Lint & Format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test Suite
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test Suite
No files were found with the provided path: coverage.xml. No artifacts will be uploaded.
Security Scan
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/