Compare commits

...

10 commits
v1.3.0 ... main

Author SHA1 Message Date
284627273b chore(deps): remove rust crate native-tls
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 2m36s
Test / build (map[name:stable]) (push) Successful in 3m8s
Release Please / Release-plz (push) Successful in 14s
2025-01-18 19:02:22 +00:00
77336629af chore(deps): update rust crate kxio to v5.1
All checks were successful
Test / build (map[name:stable]) (push) Successful in 3m16s
Test / build (map[name:nightly]) (push) Successful in 4m34s
Release Please / Release-plz (push) Successful in 13s
2025-01-18 18:54:08 +00:00
Renovate Bot
b526e3d9d8 chore(deps): update git.kemitix.net/kemitix/rust docker tag to v4
All checks were successful
Test / build (map[name:stable]) (push) Successful in 3m34s
Test / build (map[name:nightly]) (push) Successful in 3m59s
Release Please / Release-plz (push) Successful in 12s
2025-01-16 11:46:42 +00:00
7ca7d94781 chore: add {test,shell}-in-docker recipes to justfile
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 1m45s
Test / build (map[name:stable]) (push) Successful in 2m46s
Release Please / Release-plz (push) Successful in 9s
2025-01-14 20:34:22 +00:00
30f930f333 build: check for ignored files being included in repo
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 2m12s
Test / build (map[name:stable]) (push) Successful in 2m35s
Release Please / Release-plz (push) Successful in 25s
2025-01-13 08:41:37 +00:00
f41eb41ea8 build: upgrade kemitix/rust v3
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 1m18s
Test / build (map[name:stable]) (push) Successful in 1m46s
Release Please / Release-plz (push) Successful in 10s
2025-01-12 13:54:12 +00:00
Renovate Bot
dae1bd4700 chore(deps): update https://git.kemitix.net/kemitix/rust action to v2.6.0
All checks were successful
Test / build (map[name:nightly]) (pull_request) Successful in 3m22s
Test / build (map[name:stable]) (pull_request) Successful in 3m52s
Release Please / Release-plz (push) Successful in 9s
Test / build (map[name:nightly]) (push) Successful in 1m20s
Test / build (map[name:stable]) (push) Successful in 2m31s
2025-01-11 20:40:57 +00:00
Renovate Bot
2150971f70 chore(deps): update https://git.kemitix.net/kemitix/rust action to v2.5.1
All checks were successful
Release Please / Release-plz (push) Successful in 54s
Test / build (map[name:nightly]) (push) Successful in 2m45s
Test / build (map[name:stable]) (push) Successful in 3m12s
2025-01-10 08:52:32 +00:00
Renovate Bot
e6931eb049 chore(deps): update docker.io/rust docker tag to v1.84.0
Some checks failed
Test / build (map[name:nightly]) (pull_request) Successful in 6m58s
Test / build (map[name:stable]) (pull_request) Successful in 7m42s
Release Please / Release-plz (push) Has been cancelled
2025-01-10 01:01:06 +00:00
Renovate Bot
17492066eb chore(deps): update kemitix/forgejo-todo-checker action to v1.3.0
All checks were successful
Test / build (map[name:nightly]) (pull_request) Successful in 7m45s
Test / build (map[name:stable]) (pull_request) Successful in 9m17s
Release Please / Release-plz (push) Successful in 1m17s
Test / build (map[name:nightly]) (push) Successful in 4m35s
Test / build (map[name:stable]) (push) Successful in 5m27s
2025-01-05 11:01:01 +00:00
5 changed files with 38 additions and 28 deletions

View file

@ -16,20 +16,23 @@ jobs:
release-plz: release-plz:
name: Release-plz name: Release-plz
runs-on: docker runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v4.0.1
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Run release-plz release-pr - name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
with:
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release - name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
with:
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

View file

@ -16,6 +16,10 @@ jobs:
build: build:
runs-on: docker runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v4.0.1
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
@ -26,39 +30,36 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Ignored Files
run: |
IGNORED=$(git ls-files --cached -i --exclude-standard)
if [ -n "$IGNORED" ]
then
echo "Ignored files present:\n$IGNORED"
exit 1
fi
- name: Check TODOs (Origin) - name: Check TODOs (Origin)
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.2.0 uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
- name: Check TODOs (Mirror) - name: Check TODOs (Mirror)
uses: kemitix/todo-checker@v1.1.0 uses: kemitix/todo-checker@v1.1.0
- name: Machete - name: Machete
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} machete
with:
args: ${{ matrix.toolchain.name }} cargo machete
- name: Format - name: Format
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} fmt --all --check
with:
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
- name: Clippy - name: Clippy
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset clippy
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
- name: Build - name: Build
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset build
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
- name: Test - name: Test
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset test
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
- name: Mutations - name: Mutations
uses: https://git.kemitix.net/kemitix/rust@v2.5.0 run: cargo +${{ matrix.toolchain.name }} mutants -vV --in-place
with:
args: ${{ matrix.toolchain.name }} cargo mutants -vV --in-place

View file

@ -9,11 +9,11 @@ repository = "https://git.kemitix.net/kemitix/trello-to-deck"
[dependencies] [dependencies]
bon = "3.0" bon = "3.0"
clap = {version = "4.5", features = ["derive"]} clap = { version = "4.5", features = ["derive"] }
color-eyre = "0.6" color-eyre = "0.6"
file-format = { version = "0.26", features = ["reader-txt"] } file-format = { version = "0.26", features = ["reader-txt"] }
ignore = "0.4" ignore = "0.4"
kxio = "5.0" kxio = "5.1"
regex = "1.10" regex = "1.10"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View file

@ -1,4 +1,4 @@
FROM docker.io/rust:1.83.0-bookworm FROM docker.io/rust:1.84.0-bookworm
WORKDIR /app WORKDIR /app
COPY Cargo.toml ./ COPY Cargo.toml ./

View file

@ -10,6 +10,12 @@ build:
# cargo test --example get # cargo test --example get
cargo mutants --jobs 4 cargo mutants --jobs 4
test-in-docker:
docker run --rm -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest cargo test
shell-in-docker:
docker run --rm -it -v $PWD:/app/ git.kemitix.net/kemitix/rust:latest bash
self-test: self-test:
just test $PWD forgejo-todo-checker just test $PWD forgejo-todo-checker