Compare commits

..

No commits in common. "main" and "v1.3.0" have entirely different histories.
main ... v1.3.0

5 changed files with 28 additions and 38 deletions

View file

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

View file

@ -16,10 +16,6 @@ jobs:
build:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v4.0.1
strategy:
matrix:
toolchain:
@ -30,36 +26,39 @@ jobs:
- name: Checkout
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)
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.2.0
- name: Check TODOs (Mirror)
uses: kemitix/todo-checker@v1.1.0
- name: Machete
run: cargo +${{ matrix.toolchain.name }} machete
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo machete
- name: Format
run: cargo +${{ matrix.toolchain.name }} fmt --all --check
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
- name: Clippy
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset clippy
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
- name: Build
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset build
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
- name: Test
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset test
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
- name: Mutations
run: cargo +${{ matrix.toolchain.name }} mutants -vV --in-place
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo mutants -vV --in-place

View file

@ -13,7 +13,7 @@ clap = { version = "4.5", features = ["derive"] }
color-eyre = "0.6"
file-format = { version = "0.26", features = ["reader-txt"] }
ignore = "0.4"
kxio = "5.1"
kxio = "5.0"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View file

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

View file

@ -10,12 +10,6 @@ build:
# cargo test --example get
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:
just test $PWD forgejo-todo-checker