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

Update GitHub Actions to latest major versions #355

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
shell: bash
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v3
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
env:
# Increase this to reset the cache if the key hasn't changed.
CACHE_NUM: 3
Expand All @@ -38,7 +38,7 @@ jobs:
key: conda-v${{ env.CACHE_NUM }}-${{ hashFiles('requirements/CI-docs/requirements.txt') }}

- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3.1.0
if: steps.cache.outputs.cache-hit != 'true'
with:
activate-environment: anaconda-client-env
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ jobs:
shell: bash -l {0}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2

- name: Install Conda
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v2
with:
environment-name: anaconda-client-env
environment-file: requirements/CI-conda/ci-environment.yml
cache-env: true
extra-specs: |
cache-environment: true
create-args: |
python=${{ matrix.python }}

- name: Setup MSYS2 ${{matrix.sys}}
uses: msys2/setup-msys2@v2
uses: msys2/setup-msys2@v2.26.0
if: matrix.os == 'windows-latest'
with:
msystem: ${{matrix.sys}}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:


- name: upload coverage report to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5.1.1
with:
fail_ci_if_error: true
env_vars: OS,PYTHON
Expand Down
Loading