Skip to content

Commit 5f9d7ac

Browse files
authored
Merge pull request #1156 from ceddy4395/fix-gha-smells
Fix potential github action smells
2 parents 6698656 + 2c5c1a8 commit 5f9d7ac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ name: Tox pytest all python versions
33
on:
44
push:
55
branches: [ main ]
6+
paths:
7+
- gpt_engineer/**
8+
- tests/**
69
pull_request:
710
branches: [ main ]
811

12+
concurrency:
13+
group: ${{github.workflow}} - ${{github.ref}}
14+
cancel-in-progress: true
15+
916
jobs:
1017
test:
18+
permissions: {}
1119
runs-on: ubuntu-latest
1220
strategy:
1321
matrix:
@@ -23,7 +31,7 @@ jobs:
2331
cache: 'pip' #Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini)
2432

2533
- name: Install tox
26-
run: pip install tox
34+
run: pip install tox==4.15.0
2735

2836
- name: Run tox
2937
env:

0 commit comments

Comments
 (0)