Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
|
61d7eb7b60 | ||
780d6888d7 | |||
b151f72019 | |||
|
b4af6b576d | ||
|
ed148bfb8d | ||
|
b4f2ef51dd | ||
|
00d1d8291b | ||
|
faf45f3d61 | ||
fe35c8261d | |||
|
e1cab7d4e7 |
5 changed files with 20 additions and 15 deletions
|
@ -28,32 +28,32 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check TODOs (Origin)
|
||||
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.0.0
|
||||
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.1.0
|
||||
|
||||
- name: Check TODOs (Mirror)
|
||||
uses: kemitix/todo-checker@v1.0.0
|
||||
|
||||
- name: Machete
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.1.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo machete
|
||||
|
||||
- name: Format
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.1.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
||||
|
||||
- name: Clippy
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.1.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
|
||||
|
||||
- name: Build
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.1.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
|
||||
|
||||
- name: Test
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.1.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
|
||||
|
|
|
@ -6,9 +6,9 @@ publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bon = "2.3"
|
||||
bon = "3.0"
|
||||
ignore = "0.4"
|
||||
file-format = { version = "0.25", features = ["reader-txt"] }
|
||||
file-format = { version = "0.26", features = ["reader-txt"] }
|
||||
kxio = "1.2"
|
||||
regex = "1.10"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
@ -17,7 +17,7 @@ tokio = { version = "1.37", features = ["full"] }
|
|||
[dev-dependencies]
|
||||
assert2 = "0.3"
|
||||
pretty_assertions = "1.4"
|
||||
rstest = "0.22"
|
||||
rstest = "0.23"
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/rust:1.81.0-bookworm
|
||||
FROM docker.io/rust:1.82.0-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
COPY Cargo.toml ./
|
||||
|
|
12
README.md
12
README.md
|
@ -6,13 +6,17 @@ Checks your source files for TODO and FIXME comments, failing your build where t
|
|||
|
||||
(Inspired by https://woodpecker-ci.org/plugins/TODO-Checker)
|
||||
|
||||
## LATEST version
|
||||
|
||||
See [Releases](https://git.kemitix.net/kemitix/forgejo-todo-checker/releases) for the latest version. Replace `${LATEST}` in the examples below with the tag version (include any leading `v`).
|
||||
|
||||
## code.forgejo.org Mirror
|
||||
|
||||
Main development takes place on [git.kemitix.net](https://git.kemitix.net/kemitix/forgejo-todo-checker).
|
||||
|
||||
There is a mirror on Codeberg.org as [kemitix/todo-checker](https://code.forgejo.org/kemitix/todo-checker).
|
||||
There is a mirror on code.forgejo.org as [kemitix/todo-checker](https://code.forgejo.org/kemitix/todo-checker).
|
||||
|
||||
This mirror allows you to refer to the action as simply `kemitix/todo-checker@v1.0.0`.
|
||||
This mirror allows you to refer to the action as simply `kemitix/todo-checker@${LATEST}`.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -25,9 +29,9 @@ jobs:
|
|||
|
||||
- name: Check TODOs
|
||||
# Original:
|
||||
# uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.0.0
|
||||
# uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@${LATEST}
|
||||
# Codeberg mirror:
|
||||
uses: kemitix/todo-checker@v1.0.0
|
||||
uses: kemitix/todo-checker@${LATEST}
|
||||
```
|
||||
|
||||
## Comments Format
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
],
|
||||
"ignoreDeps": ["kemitix/todo-checker"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue