Skip to content

Commit e0e8940

Browse files
authored
Update ci.yml
1 parent b6e557c commit e0e8940

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,34 @@ jobs:
2929
repositories: |
3030
aws-durable-execution-sdk-python
3131
aws-durable-execution-sdk-python-testing
32-
- uses: actions/checkout@v5
32+
- name: checkout aws-durable-execution-sdk-python-testing
33+
uses: actions/checkout@v5
34+
with:
35+
token: ${{ steps.generate-token.outputs.token }}
36+
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
37+
persist-credentials: false
38+
path: aws-durable-execution-sdk-python-testing
39+
- name: checkout aws-durable-execution-sdk-python
40+
uses: actions/checkout@v5
41+
with:
42+
token: ${{ steps.generate-token.outputs.token }}
43+
repository: aws/aws-durable-execution-sdk-python
44+
ref: 'main'
45+
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
46+
persist-credentials: false
47+
path: aws-durable-execution-sdk-python
3348
- name: Set up Python ${{ matrix.python-version }}
3449
uses: actions/setup-python@v6
3550
with:
3651
python-version: ${{ matrix.python-version }}
3752
persist-credentials: false
53+
path: aws-durable-execution-sdk-
3854
- name: Install Hatch
3955
run: |
4056
python -m pip install --upgrade hatch
4157
python -m pip install --force-reinstall -v "click==8.2.1"
4258
- name: static analysis
4359
run: hatch fmt --check
44-
- run: ls
45-
- name: set up git in pyproject.toml
46-
run: sed -i.bak "s|git+ssh\:\/\/git@github\.com\/aws\/aws\-durable\-execution\-sdk\-python\.git|https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/aws/aws-durable-execution-sdk-python.git|g" pyproject.toml
47-
- run: cat pyproject.toml
4860
- name: type checking
4961
run: hatch run types:check
5062
- name: Run tests + coverage

0 commit comments

Comments
 (0)