File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 3939 # F541 (https://docs.astral.sh/ruff/rules/f-string-missing-placeholders)
4040 - name : Check linting
4141 run : poetry run ruff check . --ignore E721 --ignore F541
42+ actionlint :
43+ name : Github Actions lint
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v5
47+ - name : Check workflow files
48+ uses : docker://rhysd/actionlint:latest
Original file line number Diff line number Diff line change 5656 }
5757 ]
5858 }' \
59- ${SLACK_WEBHOOK_NIGHTLY};
59+ " ${SLACK_WEBHOOK_NIGHTLY}" ;
6060 env :
6161 SLACK_WEBHOOK_NIGHTLY : ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
6262 FAILED_PRODUCT : " ${{ matrix.products }}"
Original file line number Diff line number Diff line change 2424 - name : Install dependencies and library
2525 run : poetry install
2626 - name : Set package version
27- run : poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
27+ run : poetry version " $(echo "${{ github.ref }}" | cut -d "/" -f 3)"
2828 - name : Build package
2929 run : poetry build
3030 - name : Publish package
@@ -56,16 +56,16 @@ jobs:
5656 python-version : " 3.10"
5757 cache : " poetry"
5858 - name : Set local scaleway-core version
59- run : poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
59+ run : poetry version " $(echo "${{ github.ref }}" | cut -d "/" -f 3)"
6060 working-directory : scaleway-core
6161 - name : Set scaleway-core version in the package
62- run : poetry add scaleway-core@$(echo "${{ github.ref }}" | cut -d "/" -f 3)
62+ run : poetry add scaleway-core@" $(echo "${{ github.ref }}" | cut -d "/" -f 3)"
6363 - name : Update lock file
6464 run : poetry lock
6565 - name : Install dependencies and library
6666 run : poetry install
6767 - name : Set package version
68- run : poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
68+ run : poetry version " $(echo "${{ github.ref }}" | cut -d "/" -f 3)"
6969 - name : Build package
7070 run : poetry build
7171 - name : Publish package
Original file line number Diff line number Diff line change 3535 - name : Install dependencies and library
3636 run : poetry install
3737 - name : Check typing
38- run : poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores $(echo "${{ matrix.lib }}" | tr "-" "_")
38+ run : poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores " $(echo "${{ matrix.lib }}" | tr "-" "_")"
3939
4040 ty :
4141 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments