Skip to content

Commit 83d3827

Browse files
authored
Bump [email protected], fixed unused imports, updated actions (#110)
1 parent 31c1ca8 commit 83d3827

File tree

11 files changed

+115
-123
lines changed

11 files changed

+115
-123
lines changed

.github/workflows/master.yml

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

1515
steps:
1616
- name: Git checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0
2020

2121
- name: Set up Python 3.13
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: "3.13"
2525

@@ -78,12 +78,12 @@ jobs:
7878

7979
steps:
8080
- name: Checkout
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v5
8282
with:
8383
ref: 'master'
8484

8585
- name: Checkout Kustomize
86-
uses: actions/checkout@v4
86+
uses: actions/checkout@v5
8787
with:
8888
token: ${{ secrets.ARGOCD_PAT }}
8989
repository: switcherapi/switcher-deployment

.github/workflows/re-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515

1616
steps:
1717
- name: Git checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 0
2121
ref: ${{ github.event.inputs.tag }}
2222

2323
- name: Set up Python 3.13
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: "3.13"
2727

@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Checkout code
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v5
4444
with:
4545
fetch-depth: 0
4646
ref: ${{ github.event.inputs.tag }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
steps:
1313
- name: Git checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Set up Python 3.13
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: "3.13"
2222

@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout code
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939

4040
- name: Docker meta
4141
id: meta

.github/workflows/sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
core.setOutput('base_ref', pr.data.base.ref);
2929
core.setOutput('head_sha', pr.data.head.sha);
3030
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v5
3232
with:
3333
ref: ${{ steps.pr.outputs.head_sha }}
3434
fetch-depth: 0
3535

3636
- name: Set up Python 3.13
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v6
3838
with:
3939
python-version: "3.13"
4040

Pipfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
slack-bolt = "==1.23.0"
7+
slack-bolt = "==1.25.0"
88
python-dotenv = "==1.1.1"
99
gunicorn = "==23.0.0"
1010
flask = "==3.1.2"
@@ -23,8 +23,8 @@ anyio = ">=4.10.0"
2323
zipp = ">=3.23.0"
2424

2525
[dev-packages]
26-
pytest = "==8.4.1"
27-
pytest-cov = "==6.2.1"
26+
pytest = "==8.4.2"
27+
pytest-cov = "==7.0.0"
2828
pytest-dotenv = "==0.5.2"
2929

3030
[requires]

Pipfile.lock

Lines changed: 100 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from dotenv import load_dotenv
2-
31
from events.request_change import RequestChangeEventHandler
42
from controller.slack_app import SlackAppHandler
53

src/controller/change_request.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22

3-
from slack_sdk.errors import SlackApiError
43
from services.switcher_service import SwitcherService
54
from utils.switcher_util import get_environment_keyval, get_keyval, validate_context_request
65
from utils.slack_payload_util import (

src/services/switcher_store.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import os
2-
31
from flask import Response
42
from typing import Optional
53
from .switcher_client import SwitcherClient

tests/test_slack_events.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import os
21
import json
32
import pytest
43

54
from src.app import slack_app
6-
from src.services.switcher_service import SwitcherService
75
from src.payloads.home import MODAL_REQUEST
86

97
from tests.utils.mock_request import (

0 commit comments

Comments
 (0)