Skip to content

Commit

Permalink
ci: update actions and configure dependabot for actions (#393)
Browse files Browse the repository at this point in the history
* chore: bump checkout action to v4 (nodejs 20 runtime)

Signed-off-by: Rui Chen <[email protected]>

* chore: bump `nick-fields/retry` action to v3 (nodejs 20 runtime)

Signed-off-by: Rui Chen <[email protected]>

* chore(dependabot): manage action deps

Signed-off-by: Rui Chen <[email protected]>

---------

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored Jan 11, 2025
1 parent 83f7b5e commit 9903a06
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
# needed to run the action in the same repo
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run gptme-bot action
uses: ./.github/actions/bot
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
extras: ['-E all']
model: ['openai/gpt-4o-mini', 'anthropic/claude-3-haiku-20240307']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install apt dependencies
Expand All @@ -51,7 +51,7 @@ jobs:

# old comment: OpenAI sometimes randomly aborts connections
- name: Run tests
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
env:
TERM: xterm
MODEL: ${{ matrix.model }}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
env:
SHOULD_PUSH: ${{ github.ref == 'refs/tags/v*' || github.ref == 'refs/heads/master' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
Expand All @@ -171,7 +171,7 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
IMAGE_SUFFIX: ${{ github.event.inputs.image-suffix || '' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: eval-results

Expand Down
2 changes: 1 addition & 1 deletion docs/bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: run gptme-bot action
uses: ErikBjare/gptme/.github/actions/bot@master
Expand Down

0 comments on commit 9903a06

Please sign in to comment.