Commit Graph

53 Commits

Author SHA1 Message Date
Kevin Stillhammer 6d8460e4e6 Don't warn on no version found in pyproject.toml (#209) 2025-08-21 09:31:37 +00:00
github-actions[bot] fbc7e4525b chore: update known checksums for 0.12.9 (#204)
chore: update known checksums for 0.12.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-08-15 07:24:07 +00:00
Kevin Stillhammer 57714a7c8a bump biome to 2.1.4 (#201) 2025-08-12 19:53:24 +00:00
Kevin Stillhammer 6afcb280fd Bump dependencies (#200) 2025-08-12 21:18:51 +02:00
Kevin Stillhammer 232c1eca56 Improve error messages on GitHub API errors (#199)
Fixes: #198
2025-08-12 19:13:17 +00:00
github-actions[bot] 6b45781b82 chore: update known checksums for 0.12.8 (#190)
chore: update known checksums for 0.12.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-08-10 15:32:56 +00:00
github-actions[bot] a099b88c70 chore: update known checksums for 0.12.5 (#189)
chore: update known checksums for 0.12.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-25 05:24:40 +00:00
github-actions[bot] b63c059bc7 chore: update known checksums for 0.12.4 (#185)
chore: update known checksums for 0.12.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-17 18:30:23 +00:00
Kevin Stillhammer 0c50076f12 Bump dependencies (#181) 2025-07-14 10:04:26 +02:00
Gareth Jones 966d2455d2 feat: support reading Ruff version from tools.poetry.dependencies (#177)
While Poetry does now support PEP 508, it's still common to use
`tool.poetry.dependencies` - we for example still use it because
Renovate does not support doing lockfile updates for Poetry when using
PEP 508.

This modifies the version finder logic to support determining the Ruff
version from `pyproject.toml` files that use ``tool.poetry.dependencies`
2025-07-14 09:58:25 +02:00
github-actions[bot] b9e360afba chore: update known checksums for 0.12.3 (#180)
chore: update known checksums for 0.12.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-12 06:45:22 +00:00
github-actions[bot] 2b785e352d chore: update known checksums for 0.12.2 (#175)
chore: update known checksums for 0.12.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-04 05:47:25 +00:00
github-actions[bot] 8c3aa952c0 chore: update known checksums for 0.12.1 (#169)
chore: update known checksums for 0.12.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-27 05:54:55 +00:00
github-actions[bot] 52ac3ada91 chore: update known checksums for 0.12.0 (#167)
chore: update known checksums for 0.12.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-18 07:44:35 +00:00
github-actions[bot] 813f619ec2 chore: update known checksums for 0.11.13 (#158)
chore: update known checksums for 0.11.13

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-16 18:00:42 +00:00
Kevin Stillhammer eaf0ecdd66 Bump dependencies (#152) 2025-05-26 20:48:47 +00:00
Kevin Stillhammer 9b2efb7fd8 Add support for pep440 version specifiers (#150)
Fixes: #147
2025-05-26 20:20:17 +02:00
github-actions[bot] da0c801a2d chore: update known checksums for 0.11.11 (#146)
chore: update known checksums for 0.11.11

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-23 07:25:27 +00:00
github-actions[bot] 94b3590e87 chore: update known checksums for 0.11.10 (#140)
chore: update known checksums for 0.11.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-16 05:15:51 +00:00
github-actions[bot] 7a9e8edffe chore: update known checksums for 0.11.9 (#138)
chore: update known checksums for 0.11.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-11 10:20:28 +02:00
Kevin Stillhammer 84f83ecf9e Support versions 0.1.8-0.4.7 (#135)
These versions have different artifact names in the GitHub releases

Fixes: #133
2025-05-07 16:58:28 +02:00
Kevin Stillhammer ea12b8ac41 Inform user of unsupported old version (#134)
Versions older than v0.0.247 do not have binaries in the GitHub releases
2025-05-07 13:28:39 +00:00
github-actions[bot] b259b0b299 chore: update known checksums for 0.11.8 (#130)
chore: update known checksums for 0.11.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-02 07:03:17 +00:00
github-actions[bot] c6bea5606c chore: update known checksums for 0.11.7 (#125)
chore: update known checksums for 0.11.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-27 13:01:02 +00:00
Simon Berger 400ab365db Add support for reading the ruff version from Poetry groups (#127)
Not sure if this is a desired feature since this was requested already
(https://github.com/astral-sh/ruff-action/issues/40#issuecomment-2581207691)
without any sort of response.
Unfortunately Poetry doesn't yet support PEP 735
(https://github.com/python-poetry/poetry/issues/9751) and it doesn't
make sense to add ruff as a project dependency.
2025-04-27 12:37:48 +00:00
github-actions[bot] 719c6e52c1 chore: update known checksums for 0.11.6 (#123)
chore: update known checksums for 0.11.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-18 06:59:08 +00:00
github-actions[bot] 9a7114796b chore: update known checksums for 0.11.5 (#120)
chore: update known checksums for 0.11.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-11 06:05:56 +00:00
github-actions[bot] 07c64b80af chore: update known checksums for 0.11.4 (#117)
chore: update known checksums for 0.11.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-05 12:37:12 +02:00
github-actions[bot] f800ba97f6 chore: update known checksums for 0.11.3 (#116)
chore: update known checksums for 0.11.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-04 06:06:48 +00:00
github-actions[bot] fd7f7e1868 chore: update known checksums for 0.11.2 (#108)
chore: update known checksums for 0.11.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-22 07:44:41 +00:00
github-actions[bot] 8b3439f688 chore: update known checksums for 0.11.0 (#101)
chore: update known checksums for 0.11.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-15 08:29:14 +01:00
github-actions[bot] 708db45010 chore: update known checksums for 0.10.0 (#99)
chore: update known checksums for 0.10.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-14 07:21:37 +01:00
github-actions[bot] 9bdf1198e7 chore: update known checksums for 0.9.10 (#97)
chore: update known checksums for 0.9.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-08 08:35:32 +01:00
github-actions[bot] bba8eb68c5 chore: update known checksums for 0.9.9 (#92)
chore: update known checksums for 0.9.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-01 12:56:36 +01:00
github-actions[bot] 140ba44f2c chore: update known checksums for 0.9.8 (#91)
chore: update known checksums for 0.9.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-28 07:30:21 +01:00
github-actions[bot] 19e5e84cff chore: update known checksums for 0.9.7 (#86)
chore: update known checksums for 0.9.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-21 07:59:44 +01:00
Kevin Stillhammer 39f75e526a Bump dependencies (#85) 2025-02-18 11:48:48 +01:00
github-actions[bot] e0aedf576b chore: update known checksums for 0.9.6 (#80)
chore: update known checksums for 0.9.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-11 09:09:40 +01:00
github-actions[bot] 160796f1a1 chore: update known checksums for 0.9.5 (#77)
chore: update known checksums for 0.9.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-07 08:11:31 +01:00
Kevin Stillhammer a7b1296fb5 Refactor internal function names (#76) 2025-02-06 17:51:03 +01:00
Dave Johansen d8f577dec4 Support requirements.txt for version-file (#68) 2025-02-06 17:41:44 +01:00
Kevin Stillhammer d34edb0565 Fix version-file input (#72)
The input was previously ignored

Fixes: #69
2025-02-06 08:40:41 +01:00
Adam Turner f14634c415 Read the [project.optional-dependencies] and [dependency-groups] tables (#66)
I'd quite like to use `ruff-action`'s auto-detection feature, but it
currently doesn't read the `[project.optional-dependency]` table, and
support for the PEP 735 `[dependency-groups]` table is currently limited
to only the special-cased `dev` key, and does not account for the
possibility of `{include-group="..."}` inline tables, as [described by
the PEP](https://peps.python.org/pep-0735/#dependency-group-include).

I have guessed how to make the tests work, as the only JS development I
do is plain JS (sans frameworks), so TypeScript is still quite new to me
-- feel free to push required changes to this branch.

A
2025-01-31 22:47:17 +01:00
Kevin Stillhammer d8281c74d4 Do not expect GITHUB_TOKEN to be set or valid (#65)
Fixes: #49
Fixes: #63

This enables use of this action with GHES
2025-01-29 20:24:35 +01:00
Kevin Stillhammer 2993ff4a65 Fix compiled known versions (#62) 2025-01-28 20:54:37 +01:00
github-actions[bot] 20a3b171f4 chore: update known checksums for 0.9.3 (#61)
chore: update known checksums for 0.9.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-01-28 20:14:31 +01:00
Kevin Stillhammer 9071a7b1c3 Use TOML 1.0.0 compliant library for parsing (#47)
iarna/toml is unmaintained.
Replaced by smol-toml which is maintained and has the same api
2025-01-16 17:20:40 +01:00
github-actions[bot] 0c24450c01 chore: update known checksums for 0.9.1 (#42)
chore: update known checksums for 0.9.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-01-11 13:39:34 +01:00
Kevin Stillhammer 31a5185046 Replace toml parsing library (#32)
"toml" does not support all TOML features
https://github.com/BinaryMuse/toml-node/issues/51

Fixes: #31
2024-12-23 19:07:34 +01:00
Kevin Stillhammer 7a82f1f7e4 Default to ruff-version from pyproject.toml (#30)
Closes: #9 

Changes the default behavior to:

- Search for a pyproject.toml in the repo root
- Search in project.dependencies and dependency-groups.dev for ruff
- If none is found use latest

Support for requirements.txt files can be added later
2024-12-23 11:07:46 +01:00