Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/setup-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2
Choose a base ref
...
head repository: actions/setup-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3
Choose a head ref

Commits on Feb 25, 2022

  1. Copy the full SHA
    93cb78f View commit details
  2. Copy the full SHA
    665cd78 View commit details

Commits on Feb 28, 2022

  1. Copy the full SHA
    0ebf233 View commit details

Commits on Mar 17, 2022

  1. Copy the full SHA
    8c1441c View commit details
  2. Merge pull request #356 from cclauss/patch-2

    README.md: Upgrade to v3
    brcrista authored Mar 17, 2022
    Copy the full SHA
    792c23f View commit details

Commits on Mar 24, 2022

  1. Bump minimist from 1.2.5 to 1.2.6

    Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
    - [Release notes](https://github.com/substack/minimist/releases)
    - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
    
    ---
    updated-dependencies:
    - dependency-name: minimist
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 24, 2022
    Copy the full SHA
    0ff64a7 View commit details
  2. Merge pull request #357 from actions/dependabot/npm_and_yarn/minimist…

    …-1.2.6
    
    Bump minimist from 1.2.5 to 1.2.6
    brcrista authored Mar 24, 2022
    Copy the full SHA
    6c048c7 View commit details
  3. Copy the full SHA
    bbebfaf View commit details

Commits on Mar 26, 2022

  1. Copy the full SHA
    18c67b4 View commit details
  2. Copy the full SHA
    59cb3f4 View commit details
  3. Copy the full SHA
    95824fd View commit details
  4. Add tests

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    1259541 View commit details
  5. Add more tests

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    7c950eb View commit details
  6. Release

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    c275cf4 View commit details
  7. Parse values from poetry

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    42ed863 View commit details
  8. Reduce test matrix

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    415c356 View commit details
  9. Remove unused file

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    0ebf799 View commit details
  10. Remove console.log

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    b0c8e3d View commit details
  11. Build and format

    patrick91 committed Mar 26, 2022
    Copy the full SHA
    aac0ef9 View commit details

Commits on Mar 28, 2022

  1. Initialise pyproject.toml

    patrick91 committed Mar 28, 2022
    Copy the full SHA
    e4be7a4 View commit details

Commits on Mar 30, 2022

  1. Update dist

    patrick91 committed Mar 30, 2022
    Copy the full SHA
    7a37d78 View commit details
  2. Use \n instead of os.EOL

    Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
    patrick91 and brcrista authored Mar 30, 2022
    Copy the full SHA
    6c31eb3 View commit details
  3. Update dist

    patrick91 committed Mar 30, 2022
    Copy the full SHA
    7aa3e95 View commit details

Commits on Mar 31, 2022

  1. Merge pull request #358 from actions/brcrista/codeql-main

    Run CodeQL only on pushes to main
    brcrista authored Mar 31, 2022
    Copy the full SHA
    9516be8 View commit details
  2. Merge pull request #281 from patrick91/feature/poetry-caching

    Add poetry caching support
    brcrista authored Mar 31, 2022
    Copy the full SHA
    6c56602 View commit details
  3. Cache on ghes (#363)

    * initial changes
    
    * updated version
    
    * format check
    
    * refactored code
    
    * updated test cases
    
    * Update src/utils.ts
    
    Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
    
    * Update utils.ts
    
    * Update utils.test.ts
    
    * review comments
    
    * dist update
    
    * Review comment
    
    * update version
    
    * updated version
    
    Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
    tiwarishub and brcrista authored Mar 31, 2022
    Copy the full SHA
    05fb98d View commit details

Commits on Apr 1, 2022

  1. dist fix (#367)

    tiwarishub authored Apr 1, 2022
    Copy the full SHA
    3e8e90e View commit details
  2. Copy the full SHA
    9c644ca View commit details

Commits on Apr 4, 2022

  1. Rework pipenv caching test (#375)

    * Rework python-pipenv-dependencies-caching test
    
    * Update Pipfile.lock hash in the tests
    
    * Rework python-pipenv-dependencies-caching-path test
    
    * Set location for pipenv test
    
    * Remove requests package from tests
    
    * Test pipenv without caching
    
    * Enable pipenv cache
    Vladimir Safonkin authored Apr 4, 2022
    Copy the full SHA
    7885ec3 View commit details
  2. Add pyton-version to setup PyPy output (#365)

    * Add pyton-version to setup PyPy output
    
    * remove new line from pypy version
    
    * Move setOutput to findPyPyVersion
    
    * Resolve conflict: 2
    dsame authored Apr 4, 2022
    Copy the full SHA
    7933d5a View commit details

Commits on Apr 5, 2022

  1. Cache hit output (#373)

    * Remove useless await in getCacheDistributor calls
    
    * Added cache-hit output
    
    * Build action with cache-hit output
    
    * Remove PromiseReturnType, add matchedKey == primaryKey check
    
    * Update cache-distributor.ts
    
    * Fix tests and rebuild
    dhvcc authored Apr 5, 2022
    Copy the full SHA
    21c0493 View commit details

Commits on Apr 7, 2022

  1. Copy the full SHA
    5d6f0c8 View commit details

Commits on Apr 11, 2022

  1. 2
    Copy the full SHA
    98f2ad0 View commit details

Commits on Mar 27, 2023

  1. Copy the full SHA
    48e4ac7 View commit details

Commits on May 30, 2023

  1. Add warning for python 2.7 on release/v3 (#674)

    * add warning
    
    * npm run format
    
    * remove ubuntu-18.04
    dmitry-shibanov authored May 30, 2023
    Copy the full SHA
    3542bca View commit details
7 changes: 4 additions & 3 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -23,10 +23,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v1
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
cache: npm

- name: Install dependencies
run: npm ci
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ name: "Code scanning - action"

on:
push:
branches: [ 'main' ]
pull_request:
schedule:
- cron: '25 3 * * 5'
48 changes: 37 additions & 11 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
@@ -21,9 +21,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: ./
with:
@@ -39,9 +39,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: ./
with:
@@ -50,7 +50,31 @@ jobs:
- name: Install pipenv
run: pipx install pipenv
- name: Install dependencies
run: pipenv install numpy
run: |
cd __tests__/data
pipenv install --verbose
python-poetry-dependencies-caching:
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: ./
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Init pyproject.toml
run: poetry init -n
- name: Install dependencies
run: poetry add flake8

python-pip-dependencies-caching-path:
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -59,9 +83,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: ./
with:
@@ -78,16 +102,18 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
python-version: ['3.9', 'pypy-3.7-v7.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: ./
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
cache-dependency-path: '**/requirements-linux.txt'
cache-dependency-path: '**/pipenv-requirements.txt'
- name: Install pipenv
run: pipx install pipenv
- name: Install dependencies
run: pipenv install numpy
run: |
cd __tests__/data
pipenv install --verbose
9 changes: 5 additions & 4 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
@@ -14,15 +14,16 @@ jobs:
name: Check licenses
steps:
- uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v2
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
cache: npm
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.4.4/licensed-3.4.4-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status
2 changes: 1 addition & 1 deletion .github/workflows/test-pypy.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-latest]
os: [macos-latest, windows-latest, ubuntu-latest]
pypy:
- 'pypy-2.7'
- 'pypy-3.7'
26 changes: 3 additions & 23 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
os: [macos-latest, windows-latest, ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
os: [macos-latest, windows-latest, ubuntu-20.04]
python: [3.5.4, 3.6.7, 3.7.5, 3.8.1]
steps:
- name: Checkout
@@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
os: [macos-latest, windows-latest, ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -91,23 +91,3 @@ jobs:
- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'

setup-pypy-legacy:
name: Setup PyPy ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-10.15, windows-2019, ubuntu-18.04, ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: setup-python pypy3
uses: ./
with:
python-version: 'pypy3'

- name: setup-python pypy2
uses: ./
with:
python-version: 'pypy2'
13 changes: 7 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -14,18 +14,19 @@ jobs:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
operating-system: [ubuntu-20.04, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v1
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
cache: npm

- name: npm install
run: npm install
- name: npm ci
run: npm ci

- name: Lint
run: npm run format-check
2 changes: 1 addition & 1 deletion .licenses/npm/@actions/cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .licenses/npm/@actions/http-client-2.1.0.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@types/node.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading