Skip to content

Commit

Permalink
[torchrec] Update GH action
Browse files Browse the repository at this point in the history
- Update GH action to unblock docs jobs
  • Loading branch information
q10 committed Feb 4, 2025
1 parent 96abf2a commit fe9cabf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
- name: Checkout torchrec repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: pytorch/torchrec
- name: Filter Generated Built Matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_dynamic_embedding_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Check disk space
run: df . -h

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -55,6 +55,6 @@ jobs:
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Check ldd --version
run: ldd --version
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
# Update references
- name: Update pip
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
conda run -n build_binary make html
cd ..
- name: Upload Built-Docs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Built-Docs
path: docs/build/html/
Expand All @@ -103,9 +103,9 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Built-Docs
path: docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
Expand All @@ -19,6 +19,6 @@ jobs:
black==24.2.0
usort==1.0.8
- name: Checkout Torchrec
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run pre-commit
uses: pre-commit/action@v2.0.3

0 comments on commit fe9cabf

Please sign in to comment.