Commit Graph

430 Commits

Author SHA1 Message Date
Ed Morley db62d43a24
Skip the post run step entirely if the cache is disabled
Previously if the `cache: false` (the default for this Action), the
Action's "post run" step would still be executed.

Whilst this step was fast (since it returned early if the cache was
disabled), it still causes unnecessary noise in the job's steps list.

For example as seen in:
https://github.com/pypa/get-pip/actions/runs/8679713478/job/23798960684

Now, the post run step is skipped if the cache is disabled, thanks
to the `post-if` syntax supporting the `github.events.inputs.*`
context.

See:
https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if
0c45773b62/action.yml (L40)
2024-07-08 09:49:29 +01:00
Matthieu Darbois a0d74c0c42
fix(ci): update all failing workflows (#863)
* fix(ci): update all failing workflows

With `macos-latest` moving to `macos-14`, most workflows are currently failing.
Update them to be able to run on `macos-latest`

Don't test python 3.5 on ubuntu. It's been EOL for almost 4 years and there are now some certificate issues with pip.

* review: remove test with python 3.5, 3.6 & 3.7

* add latest versions to e2e-tests.yml
2024-06-27 13:18:32 -05:00
dependabot[bot] 4eb7dbcb95
Bump braces from 3.0.2 to 3.0.3 (#893)
* Bump braces from 3.0.2 to 3.0.3

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump undici from 5.28.3 to 5.28.4

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-06-26 12:13:45 -05:00
priya-kinthali 82c7e631bb
Documentation changes for avoiding rate limit issues on GHES (#835)
* initial commit for documentation changes related to rawapi

* documentation changes and added check for validating raw api

* documenation changes for pr
2024-03-26 08:56:51 -05:00
Tobias 10aa35afd7
feat: fallback to raw endpoint for manifest when rate limit is reached (#766) 2024-03-26 08:56:00 -05:00
dependabot[bot] 9a7ac94420
Bump undici from 5.27.2 to 5.28.3 (#817)
* Bump undici from 5.27.2 to 5.28.3

Bumps [undici](https://github.com/nodejs/undici) from 5.27.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.27.2...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* license check fix

* dependency fix

* nightly version issue fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-03-11 10:03:54 -05:00
Aliaksei Urbanski 871daa956c
Fix the "Specifying multiple Python/PyPy versions" link (#782)
The link was broken due to inconsistency between a table of content and
an actual title of a corresponding section of the Advanced Usage guide.
2024-01-24 14:44:08 -06:00
Russell Smith 2f078955e4
Fix broken README.md link (#793) 2024-01-18 11:33:07 +05:30
Bas Nijholt e9d6f99097
Replace setup-python@v4 by setup-python@v5 in README (#776) 2023-12-14 16:28:18 +01:00
Dmitry Shibanov 0a5c615913
Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
Dmitry Shibanov 0ae58361cd
Add example of GraalPy to docs (#773) 2023-12-05 11:40:46 +01:00
Dmitry Shibanov b64ffcaf5b
update actions/checkout to v4 (#761) 2023-11-08 11:16:06 +01:00
Simon Willison 8d2896179a
Examples now use checkout@v4 (#738) 2023-11-08 10:25:26 +01:00
Christian Clauss 7bc6abb01e
advanced-usage.md: Encourage the use actions/checkout@v4 (#729) 2023-11-08 09:52:55 +01:00
dependabot[bot] e8111cec9d
Bump @babel/traverse from 7.9.0 to 7.23.2 (#743) 2023-10-26 13:33:26 +02:00
Dmitry Shibanov a00ea43da6
add fix for graalpy ci (#741) 2023-10-16 11:57:32 +02:00
Jeff Widman 8635b1ccc5
Change deprecation comment to past tense (#723) 2023-10-16 11:19:29 +02:00
Jeff Widman f6cc428f53
Use non-deprecated versions in examples (#724) 2023-10-16 11:01:43 +02:00
Tim Felgentreff 5f2af211d6
Add GraalPy support (#694)
* Add support for graalpy

* add graalpy test workflow

* format, lint and build

* symlink graalpy binaries names

* fix macos names for graalpy

* Don't attempt to update pip for graalpy

* Remove test schedule

* Extract common getBinaryDirectory function for PyPy and GraalPy

* Clean up and format

* Pass GitHub token to GraalPy queries

* Utilize pagination when querying GraalPy GitHub releases

* Build

* Fix lint errors

* Deal with possible multiple artifacts for a single releases

* Skip few GraalPy tests on windows - we don't have a windows release yet

* Fix GraalPy test on Mac OS

* Build

* Skip one more GraalPy test on windows

---------

Co-authored-by: Michael Simacek <michael.simacek@oracle.com>
2023-10-10 14:59:54 +02:00
Ferran Parés 3467d92d48
Trim python version to get rid of '\n' (#628) 2023-10-06 12:34:33 +02:00
Dmitry Shibanov 65d7f2d534
Add range validation for toml files (#726) 2023-09-07 15:45:09 +02:00
dependabot[bot] f97b83114c
Bump word-wrap from 1.2.3 to 1.2.4 (#702)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 09:55:40 +02:00
Dimitri Papadopoulos Orfanos 61a6322f88
Fix typos found by codespell (#650) 2023-07-13 15:35:02 +02:00
dependabot[bot] ea5b57fccc
Bump semver from 7.3.8 to 7.5.2 (#692) 2023-07-13 15:25:58 +02:00
dependabot[bot] 014d32a830
Bump tough-cookie and @azure/ms-rest-js (#697) 2023-07-13 15:02:04 +02:00
Dmitry Shibanov c16c4b8d18
Fix pipenv jobs (#699) 2023-07-13 14:11:40 +02:00
Dario Curreri 0d5da6a89a
Read python version from pyproject.toml (fix #542) (#669) 2023-06-28 22:02:44 +02:00
Dmitry Shibanov 3f824b7ca6
remove python 2.7 from the tests (#687) 2023-06-19 13:20:44 +02:00
Dmitry Shibanov bd6b4b6205
Add warning for python 2.7 (#673) 2023-05-24 14:37:35 +02:00
Marko Zivic 0cbcb9a3d7
Merge pull request #668 from akv-platform/disallow-implicit-dependencies
Remove implicit dependency
2023-05-23 12:48:06 +02:00
Nikolai Laevskii 669664dac1 Merge branch 'tool-config-auto-update' into disallow-implicit-dependencies 2023-05-23 10:33:18 +02:00
github-actions[bot] 9cbf792a3c Update configuration files 2023-05-23 08:23:56 +00:00
Nikolai Laevskii e732e40717 Update licenses 2023-05-22 12:13:00 +02:00
Nikolai Laevskii a0d867bfa9 Change http-client dependency to one matching previous version 2023-05-22 11:53:31 +02:00
Nikolai Laevskii d99bed8b21 Update license 2023-05-22 11:03:05 +02:00
Nikolai Laevskii f71253fee3 Change to @action/http-client version to the one that was used in the most recent build 2023-05-22 11:02:56 +02:00
Nikolai Laevskii b51c97f6e3 Add eslint rule for disallowing implicit dependencies 2023-05-22 10:41:59 +02:00
Siyuan Zhang db9987b4c1
Fix a incorrect link advanced-usage.md (#657) 2023-04-25 11:31:57 +02:00
Matthieu Darbois 6db7460265
fix `allow-prereleases` sample configuration (#615) 2023-04-20 14:46:49 +02:00
Dmitry Shibanov 57ded4d7d5
update @azure/storage-blob (#655) 2023-04-20 14:13:16 +02:00
Dmitry Shibanov df6abcc733
update xml2js (#652) 2023-04-19 13:40:45 +02:00
Dmitry Shibanov 7a4f344e33
Add warning for empty cache paths (#642) 2023-04-06 12:02:34 +02:00
Dmitry Shibanov d1244c8404
Remove ubuntu-18.04 from e2e (#641) 2023-04-04 16:18:24 +02:00
Ivan 3091b37310
Fix glob bug in package.json scripts section (#637) 2023-04-03 12:46:57 +02:00
github-actions[bot] dfa76f8d0d
Update configuration files (#622)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-15 00:32:39 +01:00
Dmitry Shibanov 03eb867e3d
Add error handling for saving and restoring cache (#618) 2023-03-10 12:15:18 +01:00
Marko Zivic b41aaf9f0c
Merge pull request #621 from akv-platform/reusable-workflow
Turn on automatic update of ESLint and Prettier configuration files
2023-03-10 10:55:42 +01:00
IvanZosimov 0ffa49cfca Add update-config-files.yml 2023-03-09 11:47:39 +01:00
Ivan ec365b4eba
Add and configure ESLint and update configuration for Prettier (#617)
* Add ESLint, update Prettier

* Update docs

* Update tests

* Update licenses

* Fix review points
2023-03-09 12:44:56 +02:00
Evgenii Korolevskii 7b9ef6fc5a
Add another pip default dependency file for cache hash (#604) 2023-02-20 13:36:57 +01:00