Skip to content

Releases

v4.1.0 🌈 Skip Astral mirror and support uv.lock

Choose a tag to compare

@github-actions github-actions released this 05 Jul 10:34
Immutable release. Only release title and notes can be modified.
278981a

Changes

Among some minor bugfixes this release adds the option to skip the astral-sh mirror and download directly from GitHub releases. Useful if the Astral mirror can't or shouldn't be used.

Also big thanks to @somaz94 for adding support for reading the desired ruff version from uv.lock.
This works automatically if you haven't overridden the version discovery by using the inputs version or version-file

πŸ› Bug fixes

πŸš€ Enhancements

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v4.0.0 🌈 Immutable releases, node24 and manifest-file

Choose a tag to compare

@github-actions github-actions released this 12 Apr 11:55
Immutable release. Only release title and notes can be modified.
0ce1b0b

This is the first immutable release of ruff-action πŸ₯³

All future releases are also immutable, if you want to know more about what this means checkout the docs.

This action now also supports the mainfest-file input which lets you define custom ruff versions and custom download locations.

Last but not least this action now runs on node24. This might be a breaking change on very old self-hosted runners.

🚨 Breaking changes

πŸš€ Enhancements

🧰 Maintenance

⬆️ Dependency updates

v3.6.1 🌈 fix automatic minor tag updates

Choose a tag to compare

@github-actions github-actions released this 30 Jan 18:45
Immutable release. Only release title and notes can be modified.
4919ec5

Changes

This is just a bugfix release for the release process

  • fix: persist credentials for git push in update-major-minor-tags workflow @eifinger-bot (#312)

🧰 Maintenance

v3.6.0 🌈 search for pyproject.toml in parent dirs

Choose a tag to compare

@github-actions github-actions released this 30 Jan 08:51
Immutable release. Only release title and notes can be modified.
aedff8d

Changes

This release brings some bug fixes like

  • support for hashes in requirement.txt files
  • ignoring environment markers in version specifiers like "ruff~=0.13 ; python_version >= '3.11'" to prevent them from breaking the version resolver. If you have a usecase for needing the environment markers to derive the correct ruff version this action should use please add your voice to #256

In case no pyproject.toml is in the configured src this action now also walks up the directory tree to search for it, just like the "normal" ruff does. This is limited to the current workspace to prevent this action from trying to access private data outside the GitHub Actions runner.

EDIT: Oh I forgot to mention that the error matcher now properly detects invalid formatting and displays the correct line number etc in the GitHub UI.

πŸ› Bug fixes

πŸš€ Enhancements

  • Update the ruff-format matcher to properly extract all info @eifinger (#293)

🧰 Maintenance

⬆️ Dependency updates

v3.5.1 🌈 Improve error messages on GitHub API errors

Choose a tag to compare

@github-actions github-actions released this 12 Aug 19:56
Immutable release. Only release title and notes can be modified.
57714a7

Changes

Recent GitHub outages showed that we can improve the error messages to tell the user what happened and what can be done about it.

πŸ› Bug fixes

🧰 Maintenance

⬆️ Dependency updates

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

Choose a tag to compare

@github-actions github-actions released this 14 Jul 08:06
Immutable release. Only release title and notes can be modified.
0c50076

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

Choose a tag to compare

@github-actions github-actions released this 26 May 20:52
Immutable release. Only release title and notes can be modified.
eaf0ecd

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

Choose a tag to compare

@github-actions github-actions released this 07 May 15:00
Immutable release. Only release title and notes can be modified.
84f83ec

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

Choose a tag to compare

@github-actions github-actions released this 27 Apr 13:08
Immutable release. Only release title and notes can be modified.
c6bea56

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

Choose a tag to compare

@github-actions github-actions released this 16 Mar 20:48
Immutable release. Only release title and notes can be modified.
9828f49

Changes

This release only changes internals and updates known checksums

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates