Skip to content

Commit

Permalink
use eifinger/setup-rye instead of trying to curl it ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
toshok committed Sep 23, 2024
1 parent be11d86 commit 92a5bf6
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Create keys.cfg
run: |
touch keys.cfg
- name: Install rye
run: |
curl -sSf https://rye.astral.sh/get | bash
- name: Install dependencies
run: |
rye sync
Expand All @@ -50,15 +51,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Pull swe-agent docker container
run: |
docker pull sweagent/swe-agent:latest
- name: Create keys.cfg
run: |
touch keys.cfg
- name: Install rye
run: |
curl -sSf https://rye.astral.sh/get | bash
- name: Install dependencies
run: |
rye sync
Expand All @@ -74,15 +76,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Pull swe-agent docker container
run: |
docker pull sweagent/swe-agent:latest
- name: Create keys.cfg
run: |
touch keys.cfg
- name: Install rye
run: |
curl -sSf https://rye.astral.sh/get | bash
- name: Setup rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Install dependencies
run: |
rye sync
Expand Down

0 comments on commit 92a5bf6

Please sign in to comment.