build: upgrade kemitix/rust v3
This commit is contained in:
parent
dae1bd4700
commit
f41eb41ea8
2 changed files with 19 additions and 24 deletions
|
@ -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:v3.0.0
|
||||||
|
|
||||||
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.6.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.6.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 }}
|
||||||
|
|
|
@ -16,6 +16,10 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
|
container:
|
||||||
|
image:
|
||||||
|
git.kemitix.net/kemitix/rust:v3.0.0
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
|
@ -33,32 +37,20 @@ 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.6.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.6.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.6.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.6.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.6.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.6.0
|
run: cargo +${{ matrix.toolchain.name }} mutants -vV --in-place
|
||||||
with:
|
|
||||||
args: ${{ matrix.toolchain.name }} cargo mutants -vV --in-place
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue