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

chore(deps): update github actions #2298

Merged
merged 1 commit into from Nov 23, 2021
Merged

chore(deps): update github actions #2298

merged 1 commit into from Nov 23, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
actions/cache action patch v2.1.6 -> v2.1.7
actions/setup-python action minor v2.2.2 -> v2.3.0

Release Notes

actions/cache

v2.1.7

Compare Source

Support 10GB cache upload using the latest version 1.0.8 of @actions/cache

actions/setup-python

v2.3.0

Compare Source

This release introduces dependency caching support (https://github.com/actions/setup-python/pull/266)

Caching dependencies.

The action has a built-in functionality for caching and restoring pip/pipenv dependencies. The cache input is optional, and caching is turned off by default.

Besides, this release introduces dependency caching support for mono repos and repositories with complex structure.

By default, the action searches for the dependency file (requirements.txt for pip or Pipfile.lock for pipenv) in the whole repository. Use the cache-dependency-path input for cases when you want to override current behaviour and use different file for hash generation (for example requirements-dev.txt). This input supports wildcards or a list of file names for caching multiple dependencies.

Caching pip dependencies:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
- run: pip install -r requirements.txt
- run: pip test
Caching pipenv dependencies:
steps:
- uses: actions/checkout@v2
- name: Install pipenv
  run: pipx install pipenv
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pipenv'
- run: pipenv install
- run: pipenv test
Change dependency file:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
    cache-dependency-path: '**/requirements-dev.txt'
- run: pip install -r subdirectory/requirements-dev.txt
- run: pip test

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 17, 2021
Signed-off-by: Renovate Bot <bot@renovateapp.com>

| datasource  | package              | from   | to     |
| ----------- | -------------------- | ------ | ------ |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/cache        | v2.1.6 | v2.1.7 |
| github-tags | actions/setup-python | v2.2.2 | v2.3.0 |
@renovate renovate bot changed the title chore(deps): update actions/setup-python action to v2.3.0 chore(deps): update github actions Nov 23, 2021
@zroubalik zroubalik merged commit 13dfde3 into main Nov 23, 2021
@zroubalik zroubalik deleted the renovate-github-actions branch November 23, 2021 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants