From c8cd1dce0b5ad5b7239c11df19b9493e53c79f8b Mon Sep 17 00:00:00 2001 From: Russell Smith Date: Fri, 12 Jul 2024 10:33:05 -0700 Subject: [PATCH] Update update_parts_database.yml --- .github/workflows/update_parts_database.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update_parts_database.yml b/.github/workflows/update_parts_database.yml index 770928b..4005550 100644 --- a/.github/workflows/update_parts_database.yml +++ b/.github/workflows/update_parts_database.yml @@ -10,25 +10,24 @@ jobs: runs-on: ubuntu-22.04 environment: github-pages steps: - - name: Checkout - uses: actions/checkout@v4 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + python3 python3-pip wget zip unzip p7zip-full sqlite3 - name: Maximize build space uses: easimon/maximize-build-space@master with: root-reserve-mb: 512 swap-size-mb: 1024 remove-dotnet: 'true' - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y --no-install-recommends \ - python3 python3-pip wget zip unzip p7zip-full sqlite3 + - name: Checkout + uses: actions/checkout@v4 - name: Show versions run: | sqlite3 --version python3 --version python3 -c "import sqlite3; import pprint; db = sqlite3.connect(':memory:'); cursor = db.execute('PRAGMA COMPILE_OPTIONS'); pprint.pprint(cursor.fetchall())" - - name: Install python dependencies run: | pip install humanize