Commit Graph

46 Commits

Author SHA1 Message Date
github-actions[bot] 8b935c8722 chore: update known checksums for 0.14.9 (#284)
chore: update known checksums for 0.14.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-12-12 07:06:49 +00:00
github-actions[bot] 7b97a6d66e chore: update known checksums for 0.14.8 (#280)
chore: update known checksums for 0.14.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-12-05 06:33:42 +00:00
github-actions[bot] 1e133b7ccc chore: update known checksums for 0.14.7 (#275)
chore: update known checksums for 0.14.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-11-30 20:03:04 +00:00
github-actions[bot] b08f7b47e5 chore: update known checksums for 0.14.6 (#271)
chore: update known checksums for 0.14.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-11-22 07:51:24 +00:00
github-actions[bot] e7baf99fcc chore: update known checksums for 0.14.5 (#266)
chore: update known checksums for 0.14.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-11-13 22:27:21 +00:00
github-actions[bot] 4f45dfa46b chore: update known checksums for 0.14.4 (#265)
chore: update known checksums for 0.14.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-11-07 06:40:57 +00:00
github-actions[bot] 4ac3c5ec56 chore: update known checksums for 0.14.3 (#263)
chore: update known checksums for 0.14.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-10-31 07:28:46 +00:00
github-actions[bot] 7f084f337e chore: update known checksums for 0.14.2 (#258)
chore: update known checksums for 0.14.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-10-24 06:41:15 +00:00
github-actions[bot] 87990efc6b chore: update known checksums for 0.14.1 (#252)
chore: update known checksums for 0.14.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-10-17 08:09:05 +00:00
github-actions[bot] bfff570296 chore: update known checksums for 0.13.3/0.14.0 (#239)
chore: update known checksums for 0.14.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-10-08 05:37:47 +00:00
github-actions[bot] 7af5f13130 chore: update known checksums for 0.13.2 (#232)
chore: update known checksums for 0.13.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-10-01 05:26:52 +00:00
github-actions[bot] f18f95d449 chore: update known checksums for 0.13.1 (#230)
chore: update known checksums for 0.13.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-09-19 06:52:42 +00:00
github-actions[bot] 15a82c0309 chore: update known checksums for 0.13.0 (#223)
chore: update known checksums for 0.13.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-09-11 08:26:39 +00:00
github-actions[bot] 5071c37a33 chore: update known checksums for 0.12.12 (#218)
chore: update known checksums for 0.12.12

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-09-05 09:35:58 +02:00
github-actions[bot] c397d0cf88 chore: update known checksums for 0.12.11 (#214)
chore: update known checksums for 0.12.11

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-08-29 06:12:32 +00:00
github-actions[bot] 16fb2a8927 chore: update known checksums for 0.12.10 (#210)
chore: update known checksums for 0.12.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-08-24 07:55:46 +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
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
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
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
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
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
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
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
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 f2e3221107 Convert from composite to typescript (#17)
# Summary

Converts the action from a [composite to
javascript](https://docs.github.com/en/actions/sharing-automations/creating-actions/about-custom-actions#types-of-actions).
Most importantly to make use of prebuilt libraries and helpers like
[actions/toolkit](https://github.com/actions/toolkit).

The structure and features are modeled after
[astral-sh/setup-uv](https://github.com/astral-sh/setup-uv)

## Changes

1. Download the ruff executable for the current platform from the GitHub
releases
2. Add ruff to the PATH
3. Validate the downloaded ruff executable against its checksum
4. Cache ruff in the [Tool
Cache](https://github.com/actions/toolkit/tree/main/packages/tool-cache)
to speed up runs on self-hosted runners
5. Support semver ranges to define the ruff version to install

## 🚨 Breaking changes

Removes the `changed-files` input.

This input could previously be used to run ruff only on files changed in
a PR. The functionality was implemented by calling another action. This
repo should focus on providing a quick and easy way to use ruff in
GitHub Actions, not add more functionality on top of ruff.

The previous functionality can be replicated with:

```yaml
- uses: actions/checkout@v4
- name: Get changed files
  id: changed-files
  uses: tj-actions/changed-files@v45
  with:
    files: |
      **.py
- name: Run ruff on changed files only 
  uses: astral-sh/ruff-action@v2
  with:
    src: ${{ steps.changed-files.outputs.all_changed_files }}
```

This was tested here:
https://github.com/astral-sh/ruff-action/actions/runs/12017035736/job/33498508269
2024-12-03 17:18:31 +01:00