2323
2424 services :
2525 postgres :
26- image : postgres:15
26+ image : postgres:17-alpine
2727 env :
2828 POSTGRES_PASSWORD : postgres
2929 POSTGRES_USER : postgres
3737 - 5432:5432
3838
3939 redis :
40- image : redis:7
40+ image : redis:8-alpine
4141 options : >-
4242 --health-cmd "redis-cli ping"
4343 --health-interval 10s
@@ -47,15 +47,15 @@ jobs:
4747 - 6379:6379
4848
4949 steps :
50- - uses : actions/checkout@v4
50+ - uses : actions/checkout@v5
5151
5252 - name : Set up Python ${{ matrix.python-version }}
53- uses : actions/setup-python@v4
53+ uses : actions/setup-python@v5
5454 with :
5555 python-version : ${{ matrix.python-version }}
5656
5757 - name : Cache pip dependencies
58- uses : actions/cache@v3
58+ uses : actions/cache@v4
5959 with :
6060 path : ~/.cache/pip
6161 key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
9696
9797 - name : Upload coverage to Codecov
9898 if : matrix.python-version == '3.11.x'
99- uses : codecov/codecov-action@v3
99+ uses : codecov/codecov-action@v5
100100 with :
101- file : ./coverage.xml
101+ files : ./coverage.xml
102102 flags : unittests
103103 name : codecov-umbrella
104104
@@ -136,10 +136,10 @@ jobs:
136136 lint :
137137 runs-on : ubuntu-latest
138138 steps :
139- - uses : actions/checkout@v4
139+ - uses : actions/checkout@v5
140140
141141 - name : Set up Python
142- uses : actions/setup-python@v4
142+ uses : actions/setup-python@v5
143143 with :
144144 python-version : 3.11.x
145145
@@ -166,10 +166,10 @@ jobs:
166166 security :
167167 runs-on : ubuntu-latest
168168 steps :
169- - uses : actions/checkout@v4
169+ - uses : actions/checkout@v5
170170
171171 - name : Set up Python
172- uses : actions/setup-python@v4
172+ uses : actions/setup-python@v5
173173 with :
174174 python-version : 3.11.x
175175
@@ -187,7 +187,7 @@ jobs:
187187 run : |
188188 # Install compatible versions for safety
189189 pip install "typer<0.13.0" "safety==2.4.0b2" || pip install "safety<3.0.0"
190-
190+
191191 # Run safety check with fallback to pip-audit
192192 safety check --json --output safety-report.json || echo "Safety JSON output failed, continuing..."
193193 safety check || {
0 commit comments