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:
|
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.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
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.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -27,26 +27,26 @@ jobs:
|
||||||
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.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo machete
|
args: ${{ matrix.toolchain.name }} cargo machete
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
|
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
|
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
|
||||||
with:
|
with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
|
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -26,3 +26,6 @@ data/
|
||||||
.git-next.toml
|
.git-next.toml
|
||||||
.envrc
|
.envrc
|
||||||
*.profraw
|
*.profraw
|
||||||
|
|
||||||
|
mutants.out/
|
||||||
|
mutants.out.old/
|
||||||
|
|
|
@ -91,7 +91,7 @@ derive_more = { version = "1.0.0-beta", features = [
|
||||||
] }
|
] }
|
||||||
derive-with = "0.5"
|
derive-with = "0.5"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
thiserror = "1.0"
|
thiserror = "2.0"
|
||||||
pike = "0.1"
|
pike = "0.1"
|
||||||
|
|
||||||
# iters
|
# iters
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/// The API Token for the [user]
|
/// The API Token for the user
|
||||||
/// `ForgeJo`: <https://{hostname}/user/settings/applications>
|
/// `ForgeJo`: <https://{hostname}/user/settings/applications>
|
||||||
/// `Github`: <https://github.com/settings/tokens>
|
/// `Github`: <https://github.com/settings/tokens>
|
||||||
#[derive(Clone, Debug, derive_more::Constructor)]
|
#[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:
|
install-hooks:
|
||||||
@echo "Installing git hooks"
|
@echo "Installing git hooks"
|
||||||
cargo install cc-cli
|
cargo install cc-cli
|
||||||
|
|
Loading…
Reference in a new issue