Skip to content

Commit

Permalink
Updated workflows with new action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
peiva-git committed Jun 8, 2024
1 parent d58edd8 commit f4215a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
max-parallel: 5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Add conda to system path
Expand All @@ -23,6 +23,7 @@ jobs:
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install -c conda-forge -y python=3.9
conda env update --file conda/pp-cpu.yml --name base
- name: Lint with flake8
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
max-parallel: 5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Add conda to system path
Expand All @@ -23,6 +23,7 @@ jobs:
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install -c conda-forge -y python=3.9
conda env update --file conda/pp-gpu.yml --name base
- name: Lint with flake8
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
Expand All @@ -32,6 +32,7 @@ jobs:
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install -c conda-forge python=3.9
conda env update --file conda/pp-gpu.yml --name base
- name: Install package
run: $CONDA/bin/pip install -e .
Expand All @@ -40,7 +41,7 @@ jobs:
export LD_LIBRARY_PATH=$CONDA/lib/:$LD_LIBRARY_PATH
export PDOC_ALLOW_EXEC=1
$CONDA/bin/pdoc -o docs/ basketballtrainer
- uses: actions/upload-pages-artifact@v2
- uses: actions/upload-pages-artifact@v3
with:
path: docs/

Expand All @@ -57,4 +58,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v3

0 comments on commit f4215a2

Please sign in to comment.