Compare commits
5 commits
484c37ad0d
...
ea264aaf12
Author | SHA1 | Date | |
---|---|---|---|
|
ea264aaf12 | ||
|
d2a93bc004 | ||
|
f908011503 | ||
|
eabf97dff8 | ||
c9d853797e |
6 changed files with 24 additions and 9 deletions
|
@ -22,13 +22,13 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run release-plz release-pr
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
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
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
||||
env:
|
||||
|
|
|
@ -27,26 +27,26 @@ jobs:
|
|||
uses: kemitix/todo-checker@v1.1.0
|
||||
|
||||
- name: Machete
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo machete
|
||||
|
||||
- name: Format
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
||||
|
||||
- name: Clippy
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
|
||||
|
||||
- name: Build
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
|
||||
|
||||
- name: Test
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||
with:
|
||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -26,3 +26,6 @@ data/
|
|||
.git-next.toml
|
||||
.envrc
|
||||
*.profraw
|
||||
|
||||
mutants.out/
|
||||
mutants.out.old/
|
||||
|
|
|
@ -91,7 +91,7 @@ derive_more = { version = "1.0.0-beta", features = [
|
|||
] }
|
||||
derive-with = "0.5"
|
||||
anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
thiserror = "2.0"
|
||||
pike = "0.1"
|
||||
|
||||
# iters
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/// The API Token for the [user]
|
||||
/// The API Token for the user
|
||||
/// `ForgeJo`: <https://{hostname}/user/settings/applications>
|
||||
/// `Github`: <https://github.com/settings/tokens>
|
||||
#[derive(Clone, Debug, derive_more::Constructor)]
|
||||
|
|
12
justfile
12
justfile
|
@ -1,3 +1,15 @@
|
|||
build:
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cargo fmt
|
||||
cargo fmt --check
|
||||
cargo hack clippy
|
||||
cargo hack build
|
||||
cargo hack test
|
||||
cargo doc
|
||||
# cargo test --example get
|
||||
cargo mutants --jobs 4
|
||||
|
||||
install-hooks:
|
||||
@echo "Installing git hooks"
|
||||
cargo install cc-cli
|
||||
|
|
Loading…
Reference in a new issue