Skip to content

Commit cf1c193

Browse files
chore(deps): bump actions/setup-python from 2.2.2 to 2.3.0 (#831)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>Support caching dependencies</h2> <p>This release introduces dependency caching support (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/266">actions/setup-python#266</a>)</p> <h2>Caching dependencies.</h2> <p>The action has a built-in functionality for caching and restoring pip/pipenv dependencies. The <code>cache</code> input is optional, and caching is turned off by default.</p> <p>Besides, this release introduces dependency caching support for mono repos and repositories with complex structure.</p> <p>By default, the action searches for the dependency file (requirements.txt for pip or Pipfile.lock for pipenv) in the whole repository. Use the <code>cache-dependency-path</code> 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.</p> <h3>Caching pip dependencies:</h3> <pre><code>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 </code></pre> <h3>Caching pipenv dependencies:</h3> <pre><code>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 </code></pre> <h3>Change dependency file:</h3> <pre><code>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 </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-python/commit/0066b88440aa9562be742e2c60ee750fc57d8849"><code>0066b88</code></a> Add a workflow to release a new version of the action (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/274">#274</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/280924fbefbb16de742b89e8dd82ba01b5769011"><code>280924f</code></a> Implementation of python's caching (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/266">#266</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/52636cf49aeef8753e61f027f11758ed8a3e9f77"><code>52636cf</code></a> Fix consistency in README (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/250">#250</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/ca5c59064f84b344ed097d6094ee1ce7137e4dee"><code>ca5c590</code></a> Update version for setup-python in package.json (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/264">#264</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/feeaa3ba49f2b4104b79d61cc6a65fbe66e4637a"><code>feeaa3b</code></a> Add issue and pull request templates (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/258">#258</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/002b1e40449cd70913538589c187c2728a41cb61"><code>002b1e4</code></a> Change python version for pypy in workflow files (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/259">#259</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/d12543aa2aa2d1de65cea946cbe1f0c3b720eaae"><code>d12543a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/252">#252</a> from dmitry-shibanov/v-dmshib/update-dependencies</li> <li><a href="https://github.com/actions/setup-python/commit/4aa563ba8c162b807c18c46445057827cf6e2cb8"><code>4aa563b</code></a> update dependencies</li> <li><a href="https://github.com/actions/setup-python/commit/70e2063f710ccef775ec81349f16fb39eecee9ef"><code>70e2063</code></a> Update test-python.yml (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/246">#246</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/2d803e7feaf26323835f529f28efa6400f18ad01"><code>2d803e7</code></a> Create check-dist.yml (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/236">#236</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v2.2.2...v2.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=2.2.2&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
1 parent a5e9dda commit cf1c193

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: .github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
fetch-depth: 0
5050
- name: Set up Python
51-
uses: actions/setup-python@v2.2.2
51+
uses: actions/setup-python@v2.3.0
5252
with:
5353
python-version: "3.8"
5454
- name: Set release notes tag

Diff for: .github/workflows/python_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v1
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v2.2.2
26+
uses: actions/setup-python@v2.3.0
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies

Diff for: .github/workflows/python_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Python
20-
uses: actions/setup-python@v2.2.2
20+
uses: actions/setup-python@v2.3.0
2121
with:
2222
python-version: "3.8"
2323
- name: Install dependencies

Diff for: .github/workflows/rebuild_latest_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727
- name: Set up Python
28-
uses: actions/setup-python@v2.2.2
28+
uses: actions/setup-python@v2.3.0
2929
with:
3030
python-version: "3.8"
3131
- name: Set release notes tag

0 commit comments

Comments
 (0)