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