Skip to content

Commit

Permalink
Merge pull request #38 from hydrologie/gh-actions-update-1701444251
Browse files Browse the repository at this point in the history
[bot] Update GitHub Action Versions
  • Loading branch information
Zeitsperre authored Dec 1, 2023
2 parents 4e74194 + 19f8233 commit f54ed0f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
bump_patch_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
persist-credentials: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v4.7.1
with:
python-version: "3.x"
- name: Config Commit Bot
Expand All @@ -54,7 +54,7 @@ jobs:
bump-my-version bump --tag patch
echo "new_version=$(grep -E '__version__' xdatasets/__init__.py | cut -d ' ' -f3)"
- name: Push Changes
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@v0.8.0
with:
force: false
github_token: ${{ secrets.BUMPVERSION_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/first_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Welcome
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7.0.1
with:
script: |
// Get a list of all issues created by the PR opener
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
shell: bash -l {0}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
persist-credentials: false
- name: Setup Conda (Micromamba)
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v1.6.0
with:
cache-downloads: true
environment-file: environment-docs.yml
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
make docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.2
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/_build/html # The folder the action should deploy.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- "3.x"
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand All @@ -57,9 +57,9 @@ jobs:
- tox-env: "py311"
python-version: "3.11"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Set up Python${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand All @@ -85,7 +85,7 @@ jobs:
# run:
# shell: bash -l {0}
# steps:
# - uses: actions/checkout@v4
# - uses: actions/checkout@v4.1.1
# - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
# uses: mamba-org/setup-micromamba@v1
# with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Python3
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: "3.x"
- name: Install packaging libraries
Expand All @@ -26,4 +26,4 @@ jobs:
run: |
python -m flit build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@v1.8.11
8 changes: 4 additions & 4 deletions .github/workflows/tag-testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '.0')
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
- name: Create Release
uses: softprops/action-gh-release@v1
env:
Expand All @@ -33,9 +33,9 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1
- name: Set up Python3
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: "3.x"
- name: Install packaging libraries
Expand All @@ -45,7 +45,7 @@ jobs:
run: |
python -m flit build
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
repository_url: https://test.pypi.org/legacy/
skip_existing: true

0 comments on commit f54ed0f

Please sign in to comment.