-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2330 from benjeffery/update-actions-2412
Update GitHub Actions to latest major versions
- Loading branch information
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,15 +20,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected].0 | ||
uses: styfle/[email protected].1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4.2.2 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5.3.0 | ||
with: | ||
python-version: "3.11" | ||
cache: "pip" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ jobs: | |
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/checkout@v4.2.2 | ||
- uses: actions/setup-python@v5.3.0 | ||
- name: install clang-format | ||
run: | | ||
pip install clang-format==6.0.1 | ||
|
@@ -38,19 +38,19 @@ jobs: | |
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v4.2.2 | ||
with: | ||
submodules: true | ||
|
||
- name: Cache conda and dependencies | ||
id: cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4.2.0 | ||
with: | ||
path: ${{ env.CONDA }}/envs | ||
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python}}-conda-v2-${{ hashFiles('requirements/CI-tests-conda/requirements.txt') }}-${{ hashFiles('requirements/CI-tests-pip/requirements.txt') }} | ||
|
||
- name: Install Conda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
uses: conda-incubator/setup-miniconda@v3.1.0 | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
with: | ||
activate-environment: anaconda-client-env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters