Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@ jobs:
# F541 (https://docs.astral.sh/ruff/rules/f-string-missing-placeholders)
- name: Check linting
run: poetry run ruff check . --ignore E721 --ignore F541
actionlint:
name: Github Actions lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
}
]
}' \
${SLACK_WEBHOOK_NIGHTLY};
"${SLACK_WEBHOOK_NIGHTLY}";
env:
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
FAILED_PRODUCT: "${{ matrix.products }}"
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies and library
run: poetry install
- name: Set package version
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
run: poetry version "$(echo "${{ github.ref }}" | cut -d "/" -f 3)"
- name: Build package
run: poetry build
- name: Publish package
Expand Down Expand Up @@ -56,16 +56,16 @@ jobs:
python-version: "3.10"
cache: "poetry"
- name: Set local scaleway-core version
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
run: poetry version "$(echo "${{ github.ref }}" | cut -d "/" -f 3)"
working-directory: scaleway-core
- name: Set scaleway-core version in the package
run: poetry add scaleway-core@$(echo "${{ github.ref }}" | cut -d "/" -f 3)
run: poetry add scaleway-core@"$(echo "${{ github.ref }}" | cut -d "/" -f 3)"
- name: Update lock file
run: poetry lock
- name: Install dependencies and library
run: poetry install
- name: Set package version
run: poetry version $(echo "${{ github.ref }}" | cut -d "/" -f 3)
run: poetry version "$(echo "${{ github.ref }}" | cut -d "/" -f 3)"
- name: Build package
run: poetry build
- name: Publish package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies and library
run: poetry install
- name: Check typing
run: poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores $(echo "${{ matrix.lib }}" | tr "-" "_")
run: poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores "$(echo "${{ matrix.lib }}" | tr "-" "_")"

ty:
runs-on: ubuntu-latest
Expand Down