Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to setup-python@v4 and cache@v4 for GH actions #2041

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions .github/workflows/automated-dev-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run: |
cmake --build . --target all
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-all-debug-${{ github.sha }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
run: |
cmake --build . --target regression_test_module_drivers
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-drivers-release-${{ github.sha }}
Expand All @@ -171,7 +171,7 @@ jobs:
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
working-directory: ${{runner.workspace}}/openfast/build
run: cmake --build . --target openfast_postlib
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
Expand All @@ -220,12 +220,12 @@ jobs:
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand All @@ -247,7 +247,7 @@ jobs:
run: |
cmake --build . --target openfastlib openfast_cpp_driver openfastcpp aerodyn_inflow_c_binding moordyn_c_binding ifw_c_binding hydrodyn_c_binding regression_test_controllers
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-interfaces-release-${{ github.sha }}
Expand All @@ -258,12 +258,12 @@ jobs:
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand All @@ -285,7 +285,7 @@ jobs:
run: |
cmake --build . --target openfast
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
Expand All @@ -296,12 +296,12 @@ jobs:
needs: build-postlib-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-postlib-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand All @@ -323,7 +323,7 @@ jobs:
run: |
cmake --build . --target FAST.Farm
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-fastfarm-release-${{ github.sha }}
Expand All @@ -341,7 +341,7 @@ jobs:
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -398,12 +398,12 @@ jobs:
needs: build-drivers-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-drivers-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -454,12 +454,12 @@ jobs:
needs: build-all-debug
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-all-debug-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -513,12 +513,12 @@ jobs:
needs: build-interfaces-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-interfaces-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -561,12 +561,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -614,12 +614,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -664,12 +664,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -714,12 +714,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -764,12 +764,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -814,12 +814,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -864,12 +864,12 @@ jobs:
needs: build-openfast-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-openfast-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down Expand Up @@ -914,12 +914,12 @@ jobs:
needs: build-fastfarm-release
steps:
- name: Cache the workspace
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{runner.workspace}}
key: build-fastfarm-release-${{ github.sha }}
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down
Loading