|
|
|
|
@ -38,7 +38,7 @@ jobs:
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
|
|
|
|
|
- name: Install uv
|
|
|
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
|
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
|
|
|
|
with:
|
|
|
|
|
enable-cache: true
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
@ -144,7 +144,7 @@ jobs:
|
|
|
|
|
mypy freqtrade scripts tests
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
|
|
|
|
with:
|
|
|
|
|
severity: error
|
|
|
|
|
@ -170,7 +170,7 @@ jobs:
|
|
|
|
|
check-latest: true
|
|
|
|
|
|
|
|
|
|
- name: Install uv
|
|
|
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
|
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
|
|
|
|
with:
|
|
|
|
|
enable-cache: true
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
@ -270,7 +270,7 @@ jobs:
|
|
|
|
|
mypy freqtrade scripts
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
|
|
|
|
with:
|
|
|
|
|
severity: info
|
|
|
|
|
@ -296,7 +296,7 @@ jobs:
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
|
|
|
|
|
- name: Install uv
|
|
|
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
|
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
|
|
|
|
with:
|
|
|
|
|
enable-cache: true
|
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
@ -363,7 +363,7 @@ jobs:
|
|
|
|
|
shell: powershell
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
|
|
|
|
with:
|
|
|
|
|
severity: error
|
|
|
|
|
@ -397,7 +397,7 @@ jobs:
|
|
|
|
|
- uses: actions/setup-python@v5
|
|
|
|
|
with:
|
|
|
|
|
python-version: "3.12"
|
|
|
|
|
- uses: pre-commit/action@v3.0.1
|
|
|
|
|
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
|
|
|
|
|
|
|
|
docs-check:
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
@ -421,7 +421,7 @@ jobs:
|
|
|
|
|
mkdocs build
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
|
|
|
|
with:
|
|
|
|
|
severity: error
|
|
|
|
|
@ -443,7 +443,7 @@ jobs:
|
|
|
|
|
python-version: "3.12"
|
|
|
|
|
|
|
|
|
|
- name: Install uv
|
|
|
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
|
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
|
|
|
|
with:
|
|
|
|
|
enable-cache: true
|
|
|
|
|
python-version: "3.12"
|
|
|
|
|
@ -501,14 +501,14 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Check user permission
|
|
|
|
|
id: check
|
|
|
|
|
uses: scherermichael-oss/action-has-permission@1.0.6
|
|
|
|
|
uses: scherermichael-oss/action-has-permission@136e061bfe093832d87f090dd768e14e27a740d3 # 1.0.6
|
|
|
|
|
with:
|
|
|
|
|
required-permission: write
|
|
|
|
|
env:
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: always() && steps.check.outputs.has-permission && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
|
|
|
|
with:
|
|
|
|
|
severity: info
|
|
|
|
|
@ -580,7 +580,7 @@ jobs:
|
|
|
|
|
merge-multiple: true
|
|
|
|
|
|
|
|
|
|
- name: Publish to PyPI (Test)
|
|
|
|
|
uses: pypa/gh-action-pypi-publish@v1.12.4
|
|
|
|
|
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
|
|
|
|
|
with:
|
|
|
|
|
repository-url: https://test.pypi.org/legacy/
|
|
|
|
|
|
|
|
|
|
@ -609,7 +609,7 @@ jobs:
|
|
|
|
|
merge-multiple: true
|
|
|
|
|
|
|
|
|
|
- name: Publish to PyPI
|
|
|
|
|
uses: pypa/gh-action-pypi-publish@v1.12.4
|
|
|
|
|
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy-docker:
|
|
|
|
|
@ -650,11 +650,11 @@ jobs:
|
|
|
|
|
docker version -f '{{.Server.Experimental}}'
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
id: buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 #v3.10.0
|
|
|
|
|
|
|
|
|
|
- name: Available platforms
|
|
|
|
|
run: echo ${PLATFORMS}
|
|
|
|
|
@ -703,7 +703,7 @@ jobs:
|
|
|
|
|
build_helpers/publish_docker_arm64.sh
|
|
|
|
|
|
|
|
|
|
- name: Discord notification
|
|
|
|
|
uses: rjstone/discord-webhook-notify@v1
|
|
|
|
|
uses: rjstone/discord-webhook-notify@89b0bf43c2c8514f70d0dcba4a706b904e8a3112 #v1.0.4
|
|
|
|
|
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && (github.event_name != 'schedule')
|
|
|
|
|
with:
|
|
|
|
|
severity: info
|
|
|
|
|
|