From e71d8e62eb2576cb464111f708e71cea02cc3120 Mon Sep 17 00:00:00 2001 From: Hemerson Rafael Date: Fri, 15 Mar 2024 11:17:08 -0300 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 37 +++++++++---------------------------- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06aa8b1..7af124b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install poetry - uses: Gr1N/setup-poetry@v7 + uses: Gr1N/setup-poetry@v9 - name: Install dependencies run: | poetry run python -m pip install --upgrade pip @@ -28,13 +28,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install poetry - uses: Gr1N/setup-poetry@v7 + uses: Gr1N/setup-poetry@v9 - name: Install dependencies run: | poetry install @@ -45,13 +45,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install poetry - uses: Gr1N/setup-poetry@v7 + uses: Gr1N/setup-poetry@v9 - name: Install dependencies run: | poetry run python -m pip install --upgrade pip @@ -63,22 +63,3 @@ jobs: - name: Test with pytest run: | poetry run pytest -v - sec: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v2 - - name: Set up Python 3.10 - uses: actions/setup-python@v2 - with: - python-version: "3.10" - - name: Install poetry - uses: Gr1N/setup-poetry@v7 - - name: Install dependencies - run: | - poetry run python -m pip install --upgrade pip - poetry run pip install -U pip setuptools - poetry install - - name: Audit security with pip-audit - run: | - poetry run pip-audit \ No newline at end of file