Skip to content

Commit

Permalink
Update actions/checkout to v4 (#138)
Browse files Browse the repository at this point in the history
Signed-off-by: Wu, Xiaochang <[email protected]>
  • Loading branch information
xwu99 authored Mar 13, 2024
1 parent bad9cb9 commit 2692427
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow_finetune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Load environment variables
run: cat /root/actions-runner-config/.env >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_finetune_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Running task on Intel GPU
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Load environment variables
run: cat /root/actions-runner-config/.env >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run Lint
run: ./format.sh -a
8 changes: 4 additions & 4 deletions .github/workflows/workflow_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
source $(python -c "import oneccl_bindings_for_pytorch as torch_ccl; print(torch_ccl.cwd)")/env/setvars.sh
# Additional libraries required for pytest
pip install -r ./tests/requirements.txt
- name: Start Ray Cluster
run: |
ray start --head
Expand All @@ -66,8 +66,8 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Determine Target
id: "target"
run: |
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
TARGET=${{steps.target.outputs.target}}
docker exec "${TARGET}" bash -c "./tests/run-tests.sh"
- name: Stop Container
if: success() || failure()
run: |
Expand Down

0 comments on commit 2692427

Please sign in to comment.