AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Cache Python Packages in the CI pipeline (#4488)
merwanehamadi79ba85a22ef1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 5219b9826b..8651931c0d 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -32,6 +32,15 @@ jobs:with:python-version: ${{ env.min-python-version }}+ - name: Set Date+ run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV++ - name: Cache Python packages+ uses: actions/cache@v3+ with:+ path: ~/.cache/pip+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ env.DATE }}+- name: Install dependenciesrun: |python -m pip install --upgrade pip@@ -112,6 +121,15 @@ jobs:with:python-version: ${{ matrix.python-version }}+ - name: Set Date+ run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV++ - name: Cache Python packages+ uses: actions/cache@v3+ with:+ path: ~/.cache/pip+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ env.DATE }}+- name: Install dependenciesrun: |python -m pip install --upgrade pipdiff --git a/tests/integration/challenges/current_score.json b/tests/integration/challenges/current_score.jsonindex 726613991d..8412e90811 100644--- a/tests/integration/challenges/current_score.json+++ b/tests/integration/challenges/current_score.json@@ -45,4 +45,4 @@"max_level_beaten": 1}}-}\ No newline at end of file+}