From 44b0bdb781766094d44078adc27513726cc53e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elijas=20Dap=C5=A1auskas?= <4084885+Elijas@users.noreply.github.com> Date: Tue, 26 Sep 2023 02:01:28 +0300 Subject: [PATCH] ci(check): use external action for env/cache setup --- .github/workflows/check.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e818760..f3fbbb2 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,15 +26,14 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - uses: ./.github/actions/setup-python-poetry + - name: "Setup Python, Poetry and Dependencies" + uses: packetcoders/action-setup-cache-python-poetry@main with: python-version: "${{ matrix.python-version }}" poetry-version: "1.6.1" - name: Install Task run: | sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin - - name: Install dependencies - run: poetry install --no-interaction - name: Run CI-CD-checks run: poetry run task ci-cd-checks