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.
ci: Update actions to newest versions
Reinier van der Leerfa4bdef17c80
diff --git a/.github/workflows/autogpt-ci.yml b/.github/workflows/autogpt-ci.ymlindex d263a3ef7d..a66e15a31e 100644--- a/.github/workflows/autogpt-ci.yml+++ b/.github/workflows/autogpt-ci.yml@@ -34,12 +34,12 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0- name: Set up Python ${{ env.min-python-version }}- uses: actions/setup-python@v4+ uses: actions/setup-python@v5with:python-version: ${{ env.min-python-version }}@@ -48,7 +48,7 @@ jobs:run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT- name: Set up Python dependency cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: ~/.cache/pypoetrykey: ${{ runner.os }}-poetry-${{ hashFiles('autogpts/autogpt/pyproject.toml') }}-${{ steps.get_date.outputs.date }}@@ -98,7 +98,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0submodules: true@@ -140,7 +140,7 @@ jobs:fi- name: Set up Python ${{ matrix.python-version }}- uses: actions/setup-python@v4+ uses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}@@ -149,7 +149,7 @@ jobs:run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT- name: Set up Python dependency cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: ~/.cache/pypoetrykey: ${{ runner.os }}-poetry-${{ hashFiles('autogpts/autogpt/pyproject.toml') }}-${{ steps.get_date.outputs.date }}@@ -174,7 +174,9 @@ jobs:AWS_SECRET_ACCESS_KEY: minioadmin- name: Upload coverage reports to Codecov- uses: codecov/codecov-action@v3+ uses: codecov/codecov-action@v4+ with:+ token: ${{ secrets.CODECOV_TOKEN }}- id: setup_git_authname: Set up git token authentication@@ -248,7 +250,7 @@ jobs:- name: Upload logs to artifactif: always()- uses: actions/upload-artifact@v3+ uses: actions/upload-artifact@v4with:name: test-logspath: autogpts/autogpt/logs/diff --git a/.github/workflows/autogpt-docker-cache-clean.yml b/.github/workflows/autogpt-docker-cache-clean.ymlindex 780caf44f9..22c940128d 100644--- a/.github/workflows/autogpt-docker-cache-clean.yml+++ b/.github/workflows/autogpt-docker-cache-clean.yml@@ -16,14 +16,14 @@ jobs:build-type: [release, dev]steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2+ uses: docker/setup-buildx-action@v3- id: buildname: Build image- uses: docker/build-push-action@v3+ uses: docker/build-push-action@v5with:context: autogpts/autogptbuild-args: BUILD_TYPE=${{ matrix.build-type }}diff --git a/.github/workflows/autogpt-docker-ci.yml b/.github/workflows/autogpt-docker-ci.ymlindex 70a29031e3..7768183903 100644--- a/.github/workflows/autogpt-docker-ci.yml+++ b/.github/workflows/autogpt-docker-ci.yml@@ -38,10 +38,10 @@ jobs:build-type: [release, dev]steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2+ uses: docker/setup-buildx-action@v3- if: runner.debugrun: |@@ -50,7 +50,7 @@ jobs:- id: buildname: Build image- uses: docker/build-push-action@v3+ uses: docker/build-push-action@v5with:context: autogpts/autogptbuild-args: BUILD_TYPE=${{ matrix.build-type }}@@ -104,22 +104,22 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:submodules: true- name: Log in to Docker hub- uses: docker/login-action@v2+ uses: docker/login-action@v3with:username: ${{ secrets.DOCKER_USER }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2+ uses: docker/setup-buildx-action@v3- id: buildname: Build image- uses: docker/build-push-action@v3+ uses: docker/build-push-action@v5with:context: autogpts/autogptbuild-args: BUILD_TYPE=dev # include pytestdiff --git a/.github/workflows/autogpt-docker-release.yml b/.github/workflows/autogpt-docker-release.ymlindex a4116c9f07..f45a63a2af 100644--- a/.github/workflows/autogpt-docker-release.yml+++ b/.github/workflows/autogpt-docker-release.yml@@ -24,16 +24,16 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4- name: Log in to Docker hub- uses: docker/login-action@v2+ uses: docker/login-action@v3with:username: ${{ secrets.DOCKER_USER }}password: ${{ secrets.DOCKER_PASSWORD }}- name: Set up Docker Buildx- uses: docker/setup-buildx-action@v2+ uses: docker/setup-buildx-action@v3# slashes are not allowed in image tags, but can appear in git branch or tag names- id: sanitize_tag@@ -46,7 +46,7 @@ jobs:- id: buildname: Build image- uses: docker/build-push-action@v3+ uses: docker/build-push-action@v5with:context: autogpts/autogptbuild-args: BUILD_TYPE=releasediff --git a/.github/workflows/autogpts-ci.yml b/.github/workflows/autogpts-ci.ymlindex 5268755c23..15cb1ea697 100644--- a/.github/workflows/autogpts-ci.yml+++ b/.github/workflows/autogpts-ci.yml@@ -41,13 +41,13 @@ jobs:min-python-version: '3.10'steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0submodules: true- name: Set up Python ${{ env.min-python-version }}- uses: actions/setup-python@v2+ uses: actions/setup-python@v5with:python-version: ${{ env.min-python-version }}diff --git a/.github/workflows/benchmark-ci.yml b/.github/workflows/benchmark-ci.ymlindex ef6a96eaca..d381371ddf 100644--- a/.github/workflows/benchmark-ci.yml+++ b/.github/workflows/benchmark-ci.yml@@ -25,12 +25,12 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0- name: Set up Python ${{ env.min-python-version }}- uses: actions/setup-python@v2+ uses: actions/setup-python@v5with:python-version: ${{ env.min-python-version }}@@ -80,13 +80,13 @@ jobs:timeout-minutes: 20steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0submodules: true- name: Set up Python ${{ env.min-python-version }}- uses: actions/setup-python@v2+ uses: actions/setup-python@v5with:python-version: ${{ env.min-python-version }}diff --git a/.github/workflows/benchmark_publish_package.yml b/.github/workflows/benchmark_publish_package.ymlindex de0ca66fed..3332e6501e 100644--- a/.github/workflows/benchmark_publish_package.yml+++ b/.github/workflows/benchmark_publish_package.yml@@ -10,13 +10,13 @@ jobs:contents: writesteps:- name: Checkout repository- uses: actions/checkout@v2+ uses: actions/checkout@v4with:submodules: truefetch-depth: 0- name: Set up Python- uses: actions/setup-python@v2+ uses: actions/setup-python@v5with:python-version: 3.8diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.ymlindex dedf67f3c8..c6daf2e8c5 100644--- a/.github/workflows/build-frontend.yml+++ b/.github/workflows/build-frontend.yml@@ -16,9 +16,9 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout Repo- uses: actions/checkout@v2+ uses: actions/checkout@v4- name: Setup Flutter- uses: subosito/flutter-action@v1+ uses: subosito/flutter-action@v2with:flutter-version: '3.13.2'- name: Build Flutter Webdiff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.ymlindex f8d66dceaf..22276417f2 100644--- a/.github/workflows/close-stale-issues.yml+++ b/.github/workflows/close-stale-issues.yml@@ -11,7 +11,7 @@ jobs:stale:runs-on: ubuntu-lateststeps:- - uses: actions/stale@v8+ - uses: actions/stale@v9with:# operations-per-run: 5000stale-issue-message: >diff --git a/.github/workflows/hackathon.yml b/.github/workflows/hackathon.ymlindex 3becee7995..94b2c752f3 100644--- a/.github/workflows/hackathon.yml+++ b/.github/workflows/hackathon.yml@@ -88,13 +88,13 @@ jobs:run: docker ps- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:fetch-depth: 0submodules: true- name: Set up Python ${{ env.min-python-version }}- uses: actions/setup-python@v2+ uses: actions/setup-python@v5with:python-version: ${{ env.min-python-version }}@@ -107,7 +107,7 @@ jobs:curl -sSL https://install.python-poetry.org | python -- name: Install Node.js- uses: actions/setup-node@v1+ uses: actions/setup-node@v4with:node-version: v18.15