Skip to content

Commit b521f68

Browse files
committed
update sonar and rename wrong file
1 parent 470e3e1 commit b521f68

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Set up Python
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ env.PYTHON_VERSION }}
2222

@@ -36,7 +36,7 @@ jobs:
3636
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
3737
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
3838
- name: Release
39-
uses: softprops/action-gh-release@v1
39+
uses: softprops/action-gh-release@v2
4040
with:
4141
files: dist/*
4242
env:

.github/workflows/run-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install dependencies
@@ -79,10 +79,10 @@ jobs:
7979
name: SonarCloud
8080
runs-on: ubuntu-latest
8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@v5
8383
with:
8484
fetch-depth: 0
8585
- name: SonarCloud Scan
86-
uses: SonarSource/sonarqube-scan-action@v5.1.0
86+
uses: SonarSource/sonarqube-scan-action@${{ vars.SONAR_SCAN_ACTION_VER }}
8787
env:
8888
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

pydynamodb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __hash__(self):
5151

5252
def connect(*args, **kwargs) -> "Connection":
5353
from .connection import Connection
54-
from .superset_dynamodb.pydnamodb import SupersetCursor
54+
from .superset_dynamodb.pydynamodb import SupersetCursor
5555

5656
connector = kwargs.get("connector", None)
5757
if connector is not None and connector.lower() == "superset":
File renamed without changes.

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def dict_cursor(request):
187187

188188
@pytest.fixture
189189
def superset_cursor(request):
190-
from pydynamodb.superset_dynamodb.pydnamodb import SupersetCursor
190+
from pydynamodb.superset_dynamodb.pydynamodb import SupersetCursor
191191

192192
yield from _cursor(SupersetCursor, request)
193193

0 commit comments

Comments
 (0)