Skip to content

Releases: astral-sh/ruff-action

v3.5.0 🌈 support reading Ruff version from tools.poetry.dependencies

14 Jul 08:06
0c50076
Compare
Choose a tag to compare

Changes

A big thank you to @G-Rath for his contribution πŸ₯³

πŸš€ Enhancements

  • feat: support reading Ruff version from tools.poetry.dependencies @G-Rath (#177)

🧰 Maintenance

⬆️ Dependency updates

v3.4.0 🌈 Add support for pep440 version specifiers

26 May 20:52
eaf0ecd
Compare
Choose a tag to compare

Changes

With this release you can now also define your ruff version using pep440 specifier:

- name: Install a pep440-specifier-satisfying version of ruff
  uses: astral-sh/ruff-action@v3
  with:
    version: ">=0.11.10,<0.12.0"

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v3.3.1 🌈 Support ruff versions 0.1.8-0.4.7

07 May 15:00
84f83ec
Compare
Choose a tag to compare

Changes

This bugfix release enables support for ruff versions 0.1.8-0.4.7.
They have a different release URL and lead to a HTTP 404 before.

πŸ› Bug fixes

🧰 Maintenance

πŸ“š Documentation

v3.3.0 🌈 Support for reading the ruff version from Poetry groups

27 Apr 13:08
c6bea56
Compare
Choose a tag to compare

Changes

Thanks to @scootermon we now also find the desired ruff versions in poetry groups in pyproject.toml:

[tool.poetry.group.dev.dependencies]
ruff = "0.8.3"

πŸš€ Enhancements

  • Add support for reading the ruff version from Poetry groups @scootermon (#127)

🧰 Maintenance

πŸ“š Documentation

  • Mention the --diff flag for format --check @Avasam (#104)

v3.2.2 🌈 Maintenance and update known checksums

16 Mar 20:48
9828f49
Compare
Choose a tag to compare

Changes

This release only changes internals and updates known checksums

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v3.2.1 🌈 Bump dependencies to fix vulnerabilites

18 Feb 18:15
39f75e5
Compare
Choose a tag to compare

Changes

🧰 Maintenance

⬆️ Dependency updates

v3.2.0 🌈 Support requirements.txt as `version-file`

06 Feb 17:13
a7b1296
Compare
Choose a tag to compare

Changes

With this release you can also use a file in requirements.txt format instead of pyproject.toml for the input version-file.
The file ending decides which parser gets used, so make sure the filenames end in *.txt or *.toml

Thank you @daveisfera

πŸ› Bug fixes

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

v3.1.0 🌈 Determine ruff version from optional or dependency groups

31 Jan 21:50
f14634c
Compare
Choose a tag to compare

Changes

Big thank you to @AA-Turner for expanding the pyproject.toml parsing to also find the ruff version to use in the following scenarios:

[dependency-groups]
dev = [
    { include-group = "docs" },
    { include-group = "lint" },
]
docs = [
    "sphinx",
]
lint = [
    "ruff==0.8.3",
]
[project.optional-dependencies]
lint = [
    "ruff==0.8.3",
]

πŸš€ Enhancements

  • Read the [project.optional-dependencies] and [dependency-groups] tables @AA-Turner (#66)

v3.0.2 🌈 Full support for GHES

29 Jan 19:30
47de3de
Compare
Choose a tag to compare

Changes

This release fixes some issues that prevented use with GitHub Enterprise Server instances.
Parsing the ruff version from pyproject.toml now also uses a library that is fully TOML 1.0.0 compliant.

πŸ› Bug fixes

  • Do not expect GITHUB_TOKEN to be set or valid @eifinger (#65)
  • Use TOML 1.0.0 compliant library for parsing @eifinger (#47)

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v3.0.1 🌈 Replace toml parsing library

23 Dec 18:08
31a5185
Compare
Choose a tag to compare

Changes

We used a toml parsing library which did not support the full TOML spec.

Thank you @AbstractUmbra for reporting this!

πŸ› Bug fixes