From 58460803e36e12398e2f3bff7dd3eb04a2286fbd Mon Sep 17 00:00:00 2001 From: Mohamed Elyousfi Date: Wed, 1 Nov 2023 15:00:14 +0100 Subject: [PATCH] Update from python3.10 to 3.11 --- .github/workflows/pylint.yml | 2 +- .github/workflows/pytest.yml | 2 +- Dockerfile | 4 ++-- ostorlab.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 508c1b4..49745f5 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2b33ad7..ccadce4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] steps: - uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 54a9f0d..15413fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.11-alpine as base FROM base as builder RUN apk add build-base RUN mkdir /install @@ -13,4 +13,4 @@ ENV PYTHONPATH=/app COPY agent /app/agent COPY ostorlab.yaml /app/agent/ostorlab.yaml WORKDIR /app -CMD ["python3", "/app/agent/semgrep_agent.py"] +CMD ["python3.11", "/app/agent/semgrep_agent.py"] diff --git a/ostorlab.yaml b/ostorlab.yaml index 00b71bf..5683e29 100644 --- a/ostorlab.yaml +++ b/ostorlab.yaml @@ -1,6 +1,6 @@ kind: Agent name: semgrep -version: 0.2.4 +version: 0.2.5 description: | This repository is an implementation of [Ostorlab Agent](https://pypi.org/project/ostorlab/) for [Semgrep](https://github.com/returntocorp/semgrep) by r2c. ## Getting Started