Skip to content

Commit

Permalink
Update gh checkout version (#624)
Browse files Browse the repository at this point in the history
* bump actions/checkout and actions/cache to latest

* add changelog
  • Loading branch information
longshuicy authored Oct 24, 2024
1 parent d14dbdb commit 7a1974e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
shell: bash -l {0}

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

- name: get release info
id: release_info
Expand All @@ -40,7 +40,7 @@ jobs:
fi
- name: Cache conda
uses: actions/cache@v2
uses: actions/cache@v4
env:
# Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
# checkout source code
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# calculate some variables that are used later
- name: version information
Expand Down Expand Up @@ -84,4 +84,4 @@ jobs:
username: ${{ secrets.HUB_USERNAME }}
password: ${{ secrets.HUB_PASSWORD }}
tags: "${{ env.TAGS }}"
buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1
buildargs: BRANCH,VERSION,BUILDNUMBER,GITSHA1
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

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

- name: get release info
id: release_info
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
pip install -r requirements.txt
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
name: Python ${{ matrix.vars.python-version }} Test
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache conda
uses: actions/cache@v2
uses: actions/cache@v4
env:
# Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest

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

# check all requirements
- name: requirements check
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Support Interdependent recovery of residential buildings and households [#606](https://github.com/IN-CORE/pyincore/pull/606)
- Remove unused insecure IN-CORE client [#581](https://github.com/IN-CORE/pyincore/issues/581)
- Update GH actions to use the latest version [#623](https://github.com/IN-CORE/pyincore/issues/623)

### Added
- Apply Black formatter [#589](https://github.com/IN-CORE/pyincore/issues/589)
Expand Down

0 comments on commit 7a1974e

Please sign in to comment.