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 2626 continue-on-error : true
2727
2828 steps :
29- - uses : actions/checkout@v3
29+ - uses : actions/checkout@v4
3030 - name : Set up Python ${{ matrix.python-version }}
31- uses : actions/setup-python@v4
31+ uses : actions/setup-python@v5
3232 with :
3333 python-version : ${{ matrix.python-version }}
3434 - name : Install dependencies
Original file line number Diff line number Diff line change 1919 id : checkout
2020 uses : actions/checkout@v4
2121 with :
22- fetch-depth : 0 # Fetch all history for all tags and branches
22+ fetch-depth : 0 # Fetch history for all tags
2323
2424 - name : Setup python
2525 uses : actions/setup-python@v5
3434
3535 - name : Publish to PyPI
3636 run : |
37- # Get the previous tag
3837 previous_tag=$(git describe --tags --abbrev=0 HEAD^)
3938 echo "Comparing changes since $previous_tag"
4039
41- # Get list of changed targets since the previous tag
4240 changed_targets=$(pants --changed-since=$previous_tag list | awk -F/ '{print $1}' | sort -u)
4341
4442 if [ -n "$changed_targets" ]; then
6967 url : [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL]
7068 steps :
7169 - name : Send to slack channels
72- uses : slackapi/slack-github-action@v2.0.0
70+ uses : slackapi/slack-github-action@v2
7371 if : always()
7472 continue-on-error : true
7573 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 ::
26
37test :
48 pants test ::
You can’t perform that action at this time.
0 commit comments