mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 12:20:38 +08:00
ci: Update actions/checkout to v4 in workflow files
This commit is contained in:
2
.github/workflows/build-and-test.yaml
vendored
2
.github/workflows/build-and-test.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: dockerx
|
- id: dockerx
|
||||||
name: Setup Docker Buildx
|
name: Setup Docker Buildx
|
||||||
|
3
.github/workflows/code_coverage.yaml
vendored
3
.github/workflows/code_coverage.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- id: dockerx
|
- id: dockerx
|
||||||
name: Setup Docker Buildx
|
name: Setup Docker Buildx
|
||||||
@ -41,7 +41,6 @@ jobs:
|
|||||||
docker cp test_container:/app/coverage.xml coverage.xml
|
docker cp test_container:/app/coverage.xml coverage.xml
|
||||||
docker rm test_container
|
docker rm test_container
|
||||||
|
|
||||||
|
|
||||||
- name: Validate coverage report
|
- name: Validate coverage report
|
||||||
run: |
|
run: |
|
||||||
if [ ! -f coverage.xml ]; then
|
if [ ! -f coverage.xml ]; then
|
||||||
|
5
.github/workflows/e2e_tests.yaml
vendored
5
.github/workflows/e2e_tests.yaml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
name: PR-Agent E2E GitHub App Test
|
name: PR-Agent E2E GitHub App Test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
@ -32,14 +32,13 @@ jobs:
|
|||||||
- id: test1
|
- id: test1
|
||||||
name: E2E test github app
|
name: E2E test github app
|
||||||
run: |
|
run: |
|
||||||
docker run -e GITHUB.USER_TOKEN=${{ secrets.TOKEN_GITHUB }} --rm codiumai/pr-agent:test pytest -v tests/e2e_tests/test_github_app.py
|
docker run -e GITHUB.USER_TOKEN=${{ secrets.TOKEN_GITHUB }} --rm codiumai/pr-agent:test pytest -v tests/e2e_tests/test_github_app.py
|
||||||
|
|
||||||
- id: test2
|
- id: test2
|
||||||
name: E2E gitlab webhook
|
name: E2E gitlab webhook
|
||||||
run: |
|
run: |
|
||||||
docker run -e gitlab.PERSONAL_ACCESS_TOKEN=${{ secrets.TOKEN_GITLAB }} --rm codiumai/pr-agent:test pytest -v tests/e2e_tests/test_gitlab_webhook.py
|
docker run -e gitlab.PERSONAL_ACCESS_TOKEN=${{ secrets.TOKEN_GITLAB }} --rm codiumai/pr-agent:test pytest -v tests/e2e_tests/test_gitlab_webhook.py
|
||||||
|
|
||||||
|
|
||||||
- id: test3
|
- id: test3
|
||||||
name: E2E bitbucket app
|
name: E2E bitbucket app
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
# SEE https://github.com/pre-commit/action
|
# SEE https://github.com/pre-commit/action
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
|
Reference in New Issue
Block a user