Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 75f3110

Browse filesBrowse files
Update actions/core to 1.10.0 for v2 (#533)
1 parent 7f80679 commit 75f3110
Copy full SHA for 75f3110

File tree

Expand file treeCollapse file tree

10 files changed

+4529
-731
lines changed
Filter options
Expand file treeCollapse file tree

10 files changed

+4529
-731
lines changed

‎.github/workflows/e2e-cache.yml

Copy file name to clipboardExpand all lines: .github/workflows/e2e-cache.yml
+29-13Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest, windows-latest, macos-latest]
24-
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
24+
python-version: ['3.9', 'pypy-3.7-v7.x']
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727
- name: Setup Python
2828
uses: ./
2929
with:
@@ -39,18 +39,26 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest, windows-latest, macos-latest]
42-
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
42+
python-version: ['3.9', 'pypy-3.9-v7.x']
4343
steps:
44-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v3
4545
- name: Setup Python
4646
uses: ./
4747
with:
4848
python-version: ${{ matrix.python-version }}
4949
cache: 'pipenv'
5050
- name: Install pipenv
51-
run: pipx install pipenv
51+
run: curl https://raw.githubusercontent.com/pypa/pipenv/main/get-pipenv.py | python
5252
- name: Install dependencies
53-
run: pipenv install numpy
53+
shell: pwsh
54+
run: |
55+
mv ./__tests__/data/Pipfile.lock .
56+
mv ./__tests__/data/Pipfile .
57+
if ("${{ matrix.python-version }}" -Match "pypy") {
58+
pipenv install --keep-outdated --python pypy
59+
} else {
60+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
61+
}
5462
5563
python-pip-dependencies-caching-path:
5664
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -59,9 +67,9 @@ jobs:
5967
fail-fast: false
6068
matrix:
6169
os: [ubuntu-latest, windows-latest, macos-latest]
62-
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
70+
python-version: ['3.9', 'pypy-3.7-v7.x']
6371
steps:
64-
- uses: actions/checkout@v2
72+
- uses: actions/checkout@v3
6573
- name: Setup Python
6674
uses: ./
6775
with:
@@ -78,16 +86,24 @@ jobs:
7886
fail-fast: false
7987
matrix:
8088
os: [ubuntu-latest, windows-latest, macos-latest]
81-
python-version: ['3.8', '3.9', 'pypy-3.7-v7.x']
89+
python-version: ['3.9', 'pypy-3.9-v7.x']
8290
steps:
83-
- uses: actions/checkout@v2
91+
- uses: actions/checkout@v3
8492
- name: Setup Python
8593
uses: ./
8694
with:
8795
python-version: ${{ matrix.python-version }}
8896
cache: 'pipenv'
89-
cache-dependency-path: '**/requirements-linux.txt'
97+
cache-dependency-path: '**/pipenv-requirements.txt'
9098
- name: Install pipenv
91-
run: pipx install pipenv
99+
run: curl https://raw.githubusercontent.com/pypa/pipenv/main/get-pipenv.py | python
92100
- name: Install dependencies
93-
run: pipenv install numpy
101+
shell: pwsh
102+
run: |
103+
mv ./__tests__/data/Pipfile.lock .
104+
mv ./__tests__/data/Pipfile .
105+
if ("${{ matrix.python-version }}" -Match "pypy") {
106+
pipenv install --keep-outdated --python pypy
107+
} else {
108+
pipenv install --keep-outdated --python ${{ matrix.python-version }}
109+
}

‎.github/workflows/workflow.yml

Copy file name to clipboardExpand all lines: .github/workflows/workflow.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.operating-system }}
1515
strategy:
1616
matrix:
17-
operating-system: [ubuntu-latest, windows-latest]
17+
operating-system: [ubuntu-20.04, windows-latest]
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v2

‎__tests__/cache-restore.test.ts

Copy file name to clipboardExpand all lines: __tests__/cache-restore.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {getCacheDistributor} from '../src/cache-distributions/cache-factory';
55

66
describe('restore-cache', () => {
77
const pipFileLockHash =
8-
'67d817abcde9c72da0ed5b8f235647cb14638b9ff9d742b42e4406d2eb16fe3c';
8+
'a3bdcc71289e4979ca9e051810d81999cc99823109faf6912e17ff14c8e621a6';
99
const requirementsHash =
1010
'd8110e0006d7fb5ee76365d565eef9d37df1d11598b912d3eb66d398d57a1121';
1111
const requirementsLinuxHash =

‎__tests__/data/Pipfile

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
flake8 = "==4.0.1"
8+
numpy = "==1.23.0"
9+
10+
[dev-packages]
11+
12+
[requires]
13+
python_version = "*"

‎__tests__/data/Pipfile.lock

Copy file name to clipboardExpand all lines: __tests__/data/Pipfile.lock
+44-240Lines changed: 44 additions & 240 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
numpy==1.22.3
2+
pandas==1.4.2

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.