File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 26
26
continue-on-error : true
27
27
28
28
steps :
29
- - uses : actions/checkout@v3
29
+ - uses : actions/checkout@v4
30
30
- name : Set up Python ${{ matrix.python-version }}
31
- uses : actions/setup-python@v4
31
+ uses : actions/setup-python@v5
32
32
with :
33
33
python-version : ${{ matrix.python-version }}
34
34
- name : Install dependencies
Original file line number Diff line number Diff line change 19
19
id : checkout
20
20
uses : actions/checkout@v4
21
21
with :
22
- fetch-depth : 0 # Fetch all history for all tags and branches
22
+ fetch-depth : 0 # Fetch history for all tags
23
23
24
24
- name : Setup python
25
25
uses : actions/setup-python@v5
34
34
35
35
- name : Publish to PyPI
36
36
run : |
37
- # Get the previous tag
38
37
previous_tag=$(git describe --tags --abbrev=0 HEAD^)
39
38
echo "Comparing changes since $previous_tag"
40
39
41
- # Get list of changed targets since the previous tag
42
40
changed_targets=$(pants --changed-since=$previous_tag list | awk -F/ '{print $1}' | sort -u)
43
41
44
42
if [ -n "$changed_targets" ]; then
69
67
url : [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL]
70
68
steps :
71
69
- name : Send to slack channels
72
- uses : slackapi/slack-github-action@v2.0.0
70
+ uses : slackapi/slack-github-action@v2
73
71
if : always()
74
72
continue-on-error : true
75
73
with :
Original file line number Diff line number Diff line change 1
- .PHONY : test coverage
1
+ .PHONY : format test coverage coverage-report install
2
+
3
+ format :
4
+ pants lint ::
5
+ pants fix ::
2
6
3
7
test :
4
8
pants test ::
You can’t perform that action at this time.
0 commit comments