Skip to content

Commit 43bb3a3

Browse files
Lucas Fonsecalecardozo
andauthored
Update Github Actions Workflow runner (#332)
* Update Workflow runner version * bump flake8-bandit * chore: bypass false positive for S105 Co-authored-by: Lucas Cardozo <[email protected]>
1 parent 78927e3 commit 43bb3a3

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
Pipeline:
1010
if: github.ref == 'refs/heads/master'
1111

12-
runs-on: ubuntu-16.04
12+
runs-on: ubuntu-22.04
1313
container: quintoandar/python-3-7-java
1414

1515
steps:

.github/workflows/staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
Pipeline:
1010
if: github.ref == 'refs/heads/staging'
1111

12-
runs-on: ubuntu-16.04
12+
runs-on: ubuntu-22.04
1313
container: quintoandar/python-3-7-java
1414

1515
steps:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
Pipeline:
12-
runs-on: ubuntu-16.04
12+
runs-on: ubuntu-22.04
1313
container: quintoandar/python-3-7-java
1414

1515
steps:

requirements.lint.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ flake8-isort==2.8.0
44
isort<5 # temporary fix
55
flake8-docstrings==1.5.0
66
flake8-bugbear==20.1.0
7-
flake8-bandit==2.1.2
7+
flake8-bandit==3.0.0
8+

tests/unit/butterfree/configs/db/test_cassandra_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,6 @@ def test_set_credentials_on_instantiation(self):
230230
username="username", password="password", host="host", keyspace="keyspace"
231231
)
232232
assert cassandra_config.username == "username"
233-
assert cassandra_config.password == "password"
233+
assert cassandra_config.password == "password" # noqa: S105
234234
assert cassandra_config.host == "host"
235235
assert cassandra_config.keyspace == "keyspace"

0 commit comments

Comments
 (0)