mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-05 18:18:56 +00:00
ci: update cargo install workflow
This commit is contained in:
@@ -76,10 +76,9 @@ jobs:
|
||||
- name: Get Deps
|
||||
run: bash ./get-deps.sh
|
||||
- name: Install cargo-nextest
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: cargo-nextest
|
||||
args: --locked
|
||||
- name: Build
|
||||
run: |
|
||||
source /opt/rh/devtoolset-9/enable
|
||||
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Rust formatting
|
||||
run: cargo +nightly fmt --all -- --check
|
||||
- name: Install stylua
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: stylua
|
||||
features: lua54
|
||||
|
||||
@@ -35,15 +35,13 @@ jobs:
|
||||
# correctly in mkdocs
|
||||
fetch-depth: 0
|
||||
- name: Install gelatyx
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: gelatyx
|
||||
args: --locked
|
||||
- name: Install mdbook-linkcheck
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: mdbook-linkcheck
|
||||
args: --locked
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
@@ -51,10 +51,9 @@ jobs:
|
||||
- name: Get Deps
|
||||
run: bash ./get-deps.sh
|
||||
- name: Install cargo-nextest
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: cargo-nextest
|
||||
args: --locked
|
||||
cache-key: ${{ matrix.container }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
||||
@@ -29,10 +29,9 @@ jobs:
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- name: Install cargo-nextest
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: cargo-nextest
|
||||
args: --locked
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
|
||||
@@ -63,10 +63,9 @@ jobs:
|
||||
- name: Get Deps
|
||||
run: bash ./get-deps.sh
|
||||
- name: Install cargo-nextest
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: cargo-nextest
|
||||
args: --locked
|
||||
cache-key: ${{ matrix.container }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
||||
@@ -14,15 +14,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install gelatyx
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: gelatyx
|
||||
args: --locked
|
||||
- name: Install mdbook-linkcheck
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
uses: baptiste0928/cargo-install@v2
|
||||
with:
|
||||
crate: mdbook-linkcheck
|
||||
args: --locked
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
Reference in New Issue
Block a user