Skip to content

Commit

Permalink
Merge branch 'master' of github.com:arfc/saltproc into fix_deps
Browse files Browse the repository at this point in the history
  • Loading branch information
samgdotson committed Jan 15, 2025
2 parents 178c6da + d90d275 commit c0d11b6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Remove Priority and Status labels
run: |
id=${{ github.event.issue.number }}
Expand All @@ -35,7 +35,7 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Remove Priority and Status labels
run: |
id=${{ github.event.pull_reqeust.number }}
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/cache-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ jobs:
LIBMESH: no

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

## TESTING CACHE ##
# Setup conda
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge # mamba is faster than base conda
miniforge-version: latest
activate-environment: saltproc-env
use-mamba: true
Expand All @@ -46,7 +45,7 @@ jobs:
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
id: dependencies-cache
with:
path: |
Expand All @@ -72,7 +71,7 @@ jobs:
- name: Download OpenMC
if: steps.dependencies-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openmc-dev/openmc
path: openmc
Expand All @@ -99,13 +98,12 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

## DOCUMENTATION CACHE ##
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge # mamba is faster than base conda
miniforge-version: latest
activate-environment: saltproc-doc-env
use-mamba: true
Expand All @@ -117,7 +115,7 @@ jobs:
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
id: dependencies-cache
with:
path: |
Expand All @@ -132,7 +130,7 @@ jobs:

- name: Download OpenMC
if: steps.dependencies-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openmc-dev/openmc
path: openmc
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

# Setup conda
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge # mamba is faster than base conda
miniforge-version: latest
activate-environment: saltproc-doc-env
use-mamba: true
Expand All @@ -43,7 +42,7 @@ jobs:
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- uses: actions/cache@v2
- uses: actions/cache@v4
id: dependencies-cache
with:
path: |
Expand All @@ -68,7 +67,7 @@ jobs:
cp doc/redirect.html doc/_build/html/index.html
- name: Deploy documentation to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/_build/html
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/populate-releasenotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v2
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-saltproc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ jobs:
LIBMESH: no

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Setup conda
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge # mamba is faster than base conda
miniforge-version: latest
channels: conda-forge
activate-environment: saltproc-env
Expand All @@ -52,7 +51,7 @@ jobs:
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
id: dependencies-cache
with:
path: |
Expand All @@ -79,7 +78,7 @@ jobs:
- name: Download OpenMC
if: steps.dependencies-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: openmc-dev/openmc
path: openmc
Expand Down
2 changes: 1 addition & 1 deletion saltproc/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

NAME = "saltproc"
MAINTAINER = "Oleksandr Yardas"
MAINTAINER_EMAIL = "arfc@googlegroups.com"
MAINTAINER_EMAIL = "olek.yardin@gmail.com"
DESCRIPTION = description
LONG_DESCRIPTION = long_description
URL = "http://github.com/arfc/saltproc"
Expand Down

0 comments on commit c0d11b6

Please sign in to comment.