Skip to content

feat(billing): add organization_name and project_name to FinOpsApi's … #2292

feat(billing): add organization_name and project_name to FinOpsApi's …

feat(billing): add organization_name and project_name to FinOpsApi's … #2292

Workflow file for this run

name: Check linters
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
lib:
- scaleway-core
- scaleway
- scaleway-async
python-version: [ '3.10' ,'3.11', '3.12', '3.13' ]
defaults:
run:
working-directory: ${{ matrix.lib }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies and library
run: poetry install
# We ignore the following rules for now:
# E721 (https://docs.astral.sh/ruff/rules/type-comparison)
# 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Check workflow files
uses: reviewdog/action-actionlint@1f3610e92fa221aa2b7c1756bccf5437efd416a4 # v1.70.0