@@ -18,30 +18,35 @@ jobs:
1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : checkout DE Modules
21- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2222 with :
2323 path : decisionengine_modules
2424
2525 - name : checkout DE Framework
26- uses : actions/checkout@v3
26+ uses : actions/checkout@v4
2727 with :
2828 path : decisionengine
2929 repository : HEPCloud/decisionengine
3030
3131 - name : checkout GlideinWMS for python3
32- uses : actions/checkout@v3
32+ uses : actions/checkout@v4
3333 with :
3434 path : glideinwms
3535 repository : glideinWMS/glideinwms
36- ref : branch_v3_9
36+ # ref: master
3737
38- - uses : actions/setup-python@v4
38+ - name : Install uv
39+ uses : astral-sh/setup-uv@v5
40+ with :
41+ enable-cache : true
42+
43+ - uses : actions/setup-python@v5
3944 with :
4045 python-version : " 3.9"
4146 architecture : " x64"
4247
4348 - name : Cache pip
44- uses : actions/cache@v3
49+ uses : actions/cache@v4
4550 with :
4651 # This path is specific to Ubuntu
4752 path : ~/.cache/pip
@@ -98,30 +103,35 @@ jobs:
98103 runs-on : ubuntu-latest
99104 steps :
100105 - name : checkout DE Modules
101- uses : actions/checkout@v3
106+ uses : actions/checkout@v4
102107 with :
103108 path : decisionengine_modules
104109
105110 - name : checkout DE Framework
106- uses : actions/checkout@v3
111+ uses : actions/checkout@v4
107112 with :
108113 path : decisionengine
109114 repository : HEPCloud/decisionengine
110115
111116 - name : checkout GlideinWMS for python3
112- uses : actions/checkout@v3
117+ uses : actions/checkout@v4
113118 with :
114119 path : glideinwms
115120 repository : glideinWMS/glideinwms
116- ref : branch_v3_9
121+ # ref: master
122+
123+ - name : Install uv
124+ uses : astral-sh/setup-uv@v5
125+ with :
126+ enable-cache : true
117127
118- - uses : actions/setup-python@v4
128+ - uses : actions/setup-python@v5
119129 with :
120130 python-version : " 3.9"
121131 architecture : " x64"
122132
123133 - name : Cache pip
124- uses : actions/cache@v3
134+ uses : actions/cache@v4
125135 with :
126136 # This path is specific to Ubuntu
127137 path : ~/.cache/pip
@@ -150,6 +160,7 @@ jobs:
150160 set -x
151161 cd ${{ github.workspace }}/decisionengine
152162 python3 -m pip install --upgrade pip
163+ python3 -m pip install --upgrade setuptools
153164 python3 -m pip install --upgrade wheel
154165 python3 -m pip install --upgrade pytest
155166 python3 -m pip install --user Cython
@@ -173,9 +184,39 @@ jobs:
173184 cd ${{ github.workspace }}/decisionengine_modules
174185 pylint src/decisionengine_modules/
175186
187+ run_ruff :
188+ name : Run Ruff against code tree
189+ runs-on : ubuntu-latest
190+ steps :
191+ - name : checkout DE Modules
192+ uses : actions/checkout@v4
193+ with :
194+ path : decisionengine_modules
195+
196+ - name : checkout DE Framework
197+ uses : actions/checkout@v4
198+ with :
199+ path : decisionengine
200+ repository : HEPCloud/decisionengine
201+
202+ - name : checkout GlideinWMS for python3
203+ uses : actions/checkout@v4
204+ with :
205+ path : glideinwms
206+ repository : glideinWMS/glideinwms
207+ # ref: master
208+
209+ - uses : actions/setup-python@v5
210+ with :
211+ python-version : " 3.9"
212+ architecture : " x64"
213+
214+ - name : Run Ruff
215+ uses : astral-sh/ruff-action@v3
216+
176217 license-check :
177218 name : Run REUSE to check license compliance
178219 runs-on : ubuntu-latest
179220 steps :
180- - uses : actions/checkout@v3
181- - uses : fsfe/reuse-action@v1
221+ - uses : actions/checkout@v4
222+ - uses : fsfe/reuse-action@v5
0 commit comments