Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Bump actions/setup-python from 2.2.2 to 2.3.1 #177

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 30, 2021

Bumps actions/setup-python from 2.2.2 to 2.3.1.

Release notes

Sourced from actions/setup-python's releases.

Update actions/cache version to 1.0.8

We have updated actions/cache dependency version to 1.0.8 to support 10GB cache upload

Support caching dependencies

This release introduces dependency caching support (actions/setup-python#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
</tr></table> 

... (truncated)

Commits
  • f382193 Update @​actions/cache version to 1.0.8 (#283)
  • 3ef38b8 Create ADR for integrating cache functionality to setup-python action (#247)
  • 0066b88 Add a workflow to release a new version of the action (#274)
  • 280924f Implementation of python's caching (#266)
  • 52636cf Fix consistency in README (#250)
  • ca5c590 Update version for setup-python in package.json (#264)
  • feeaa3b Add issue and pull request templates (#258)
  • 002b1e4 Change python version for pypy in workflow files (#259)
  • d12543a Merge pull request #252 from dmitry-shibanov/v-dmshib/update-dependencies
  • 4aa563b update dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from Defelo as a code owner November 30, 2021 07:10
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 30, 2021
@Defelo
Copy link
Member

Defelo commented Jan 3, 2022

@dependabot rebase

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2.2.2...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/setup-python-2.3.1 branch from 5b7f3c4 to 6285b69 Compare January 3, 2022 10:29
@codeclimate
Copy link

codeclimate bot commented Jan 3, 2022

Code Climate has analyzed commit 6285b69 and detected 0 issues on this pull request.

View more on Code Climate.

@Defelo Defelo enabled auto-merge (squash) January 3, 2022 10:31
@Defelo Defelo merged commit 8ad318b into develop Jan 3, 2022
@Defelo Defelo deleted the dependabot/github_actions/actions/setup-python-2.3.1 branch January 3, 2022 10:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant