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
4 changes: 2 additions & 2 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-${{ matrix.os }}-1 # increment to reset cache
key: poetry-${{ matrix.os }}-2 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-ubuntu-0 # increment to reset cache
key: poetry-ubuntu-1 # increment to reset cache

- name: Setup Poetry
if: steps.cached_poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-ubuntu-0 # increment to reset cache
key: poetry-ubuntu-1 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-ubuntu-0 # increment to reset cache
key: poetry-ubuntu-1 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-ubuntu-0 # increment to reset cache
key: poetry-ubuntu-1 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-ubuntu-0 # increment to reset cache
key: poetry-ubuntu-1 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -50,13 +50,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-${{ matrix.os }}-${{ matrix.python-version }}-2 # increment to reset cache
key: poetry-${{ matrix.os }}-${{ matrix.python-version }}-3 # increment to reset cache

- name: Setup Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
version: 1.8.3
version: 2.2.1

- name: Add Poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /usr/cycode/app
RUN apk add git=2.47.3-r0

FROM base AS builder
ENV POETRY_VERSION=1.8.3
ENV POETRY_VERSION=2.2.1

# deps are required to build cffi
RUN apk add --no-cache --virtual .build-deps gcc=14.2.0-r4 libffi-dev=3.4.7-r0 musl-dev=1.2.5-r9 && \
Expand Down
1,194 changes: 637 additions & 557 deletions poetry.lock

Large diffs are not rendered by default.

24 changes: 15 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
[tool.poetry]
[project]
name = "cycode"
version = "0.0.0" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag
description = "Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning."
keywords=["secret-scan", "cycode", "devops", "token", "secret", "security", "cycode", "code"]
authors = ["Cycode <[email protected]>"]
keywords = ["secret-scan", "cycode", "devops", "token", "secret", "security", "code"]
authors = [{name = "Cycode", email = "[email protected]"}]
license = "MIT"
repository = "https://github.com/cycodehq/cycode-cli"
requires-python = ">=3.9"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
Expand All @@ -20,13 +18,21 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = ["dependencies", "version"]

[tool.poetry.scripts]
[project.scripts]
cycode = "cycode.cli.app:app"

[project.urls]
repository = "https://github.com/cycodehq/cycode-cli"

[tool.poetry]
requires-poetry = ">=2.0"
version = "0.0.0" # DON'T TOUCH. Placeholder. Will be filled automatically on poetry build from Git Tag

[tool.poetry.dependencies]
python = ">=3.9,<3.14"
click = ">=8.1.0,<8.2.0"
colorama = ">=0.4.3,<0.5.0"
pyyaml = ">=6.0,<7.0"
Expand Down Expand Up @@ -142,5 +148,5 @@ ban-relative-imports = "all"
quote-style = "single"

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
requires = ["poetry-core>=2.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"