Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ on:
jobs:
check:
name: Run Linter
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3

- name: CodeQuality
uses: JacobDomagala/StaticAnalysis@master
with:
language: "Python"
verbose: True
pylint_args: "--rcfile=.pylintrc --recursive=true"
python_dirs: "src test"
exclude_dir: "test/utils/"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
jobs:
check:
name: Test Action
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10.0
python-version: 3.13.0

- name: Test the action
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
jobs:
check:
name: Run Unit Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10.0
python-version: 3.13.0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ debug_print() {
fi
}

if [ "$RUNNER_DEBUG" = "1" ]; then
export INPUT_VERBOSE="true"
debug_print "Runner is running in debug mode - enabling verbose output"
fi

print_to_console=${INPUT_FORCE_CONSOLE_PRINT}
check_cpp=$( [ "${INPUT_LANGUAGE,,}" = "c++" ] && echo "true" || echo "false" )
check_python=$( [ "${INPUT_LANGUAGE,,}" = "python" ] && echo "true" || echo "false" )
Expand Down
4 changes: 0 additions & 4 deletions src/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/static_analysis_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
import json

from . import sa_utils as utils
from src import sa_utils as utils


def parse_pylint_json(
Expand Down