Loading sdk/templates/ci_dev.gitlab-ci.yml +8 −4 Original line number Diff line number Diff line Loading @@ -45,9 +45,13 @@ dev_linting_code: - when: always script: - | cat /etc/*release #echo "###ruff checks###" #pip install ruff #ruff check --config cicd/ruff.toml . || true if ! command -v ruff >/dev/null 2>&1; then curl -LsSf https://astral.sh/ruff/install.sh | sh else echo "ruff already installed: $(ruff --version)" fi echo " --------------------- ruff checks ---------------------" ruff check --config cicd/ruff.toml . || true needs: ["dev_secrets_in_repo"] <<: *dev_common No newline at end of file sdk/templates/ci_staging.gitlab-ci.yml +9 −4 Original line number Diff line number Diff line Loading @@ -44,10 +44,15 @@ staging_linting_code: stage: staging_linting script: - | cat /etc/*release #echo "###ruff checks###" #pip install ruff #ruff check --config cicd/ruff.toml . || true if ! command -v ruff >/dev/null 2>&1; then curl -LsSf https://astral.sh/ruff/install.sh | sh else echo "ruff already installed: $(ruff --version)" fi echo " --------------------- ruff checks ---------------------" ruff check --config cicd/ruff.toml . || true needs: ["staging_secrets_in_repo"] <<: *staging_common Loading Loading
sdk/templates/ci_dev.gitlab-ci.yml +8 −4 Original line number Diff line number Diff line Loading @@ -45,9 +45,13 @@ dev_linting_code: - when: always script: - | cat /etc/*release #echo "###ruff checks###" #pip install ruff #ruff check --config cicd/ruff.toml . || true if ! command -v ruff >/dev/null 2>&1; then curl -LsSf https://astral.sh/ruff/install.sh | sh else echo "ruff already installed: $(ruff --version)" fi echo " --------------------- ruff checks ---------------------" ruff check --config cicd/ruff.toml . || true needs: ["dev_secrets_in_repo"] <<: *dev_common No newline at end of file
sdk/templates/ci_staging.gitlab-ci.yml +9 −4 Original line number Diff line number Diff line Loading @@ -44,10 +44,15 @@ staging_linting_code: stage: staging_linting script: - | cat /etc/*release #echo "###ruff checks###" #pip install ruff #ruff check --config cicd/ruff.toml . || true if ! command -v ruff >/dev/null 2>&1; then curl -LsSf https://astral.sh/ruff/install.sh | sh else echo "ruff already installed: $(ruff --version)" fi echo " --------------------- ruff checks ---------------------" ruff check --config cicd/ruff.toml . || true needs: ["staging_secrets_in_repo"] <<: *staging_common Loading