mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-26 20:45:45 +00:00
bump clap and add nushell/fig completions (#1300)
* add nushell and fig completion generation * now bump clap * bump cargo-action too * add rust-version key and set to 1.70.0, N-2
This commit is contained in:
@@ -144,7 +144,7 @@ jobs:
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Build
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
env:
|
||||
BTM_GENERATE: true
|
||||
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
|
||||
@@ -341,7 +341,7 @@ jobs:
|
||||
|
||||
# TODO: Could I use the previous jobs to skip this call?
|
||||
- name: Build
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
env:
|
||||
BTM_GENERATE: true
|
||||
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
|
||||
@@ -439,7 +439,7 @@ jobs:
|
||||
|
||||
# TODO: Could I use the previous jobs to skip this call?
|
||||
- name: Build
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
env:
|
||||
BTM_GENERATE: true
|
||||
BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
|
||||
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
- name: Build tests
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
with:
|
||||
command: test
|
||||
args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }}
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
RUST_BACKTRACE: full
|
||||
|
||||
- name: Run tests
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
with:
|
||||
command: test
|
||||
args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet
|
||||
@@ -126,7 +126,7 @@ jobs:
|
||||
RUST_BACKTRACE: full
|
||||
|
||||
- name: Run clippy
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
with:
|
||||
command: clippy
|
||||
args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings
|
||||
@@ -235,7 +235,8 @@ jobs:
|
||||
os: "ubuntu-latest",
|
||||
target: "aarch64-linux-android",
|
||||
cross: true,
|
||||
rust: 1.67.0, # See https://github.com/cross-rs/cross/issues/1222 for more details
|
||||
rust: stable,
|
||||
cross-version: "git:d6511b7b166c18640f81b8f6a74d9eef380f7ded",
|
||||
no-default-features: true,
|
||||
}
|
||||
|
||||
@@ -257,22 +258,22 @@ jobs:
|
||||
cache-all-crates: true
|
||||
|
||||
- name: Try building with only default features enabled
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
if: ${{ matrix.info.no-default-features != true }}
|
||||
with:
|
||||
command: build
|
||||
args: --all-targets --verbose --target=${{ matrix.info.target }} --locked
|
||||
use-cross: ${{ matrix.info.cross }}
|
||||
cross-version: 0.2.5
|
||||
cross-version: ${{ matrix.info.cross-version || '0.2.5' }}
|
||||
|
||||
- name: Try building with no features enabled
|
||||
uses: ClementTsang/cargo-action@v0.0.4
|
||||
uses: ClementTsang/cargo-action@v0.0.5
|
||||
if: ${{ matrix.info.no-default-features == true }}
|
||||
with:
|
||||
command: build
|
||||
args: --all-targets --verbose --target=${{ matrix.info.target }} --locked --no-default-features
|
||||
use-cross: ${{ matrix.info.cross }}
|
||||
cross-version: 0.2.5
|
||||
cross-version: ${{ matrix.info.cross-version || '0.2.5' }}
|
||||
|
||||
completion:
|
||||
name: "CI Pass Check"
|
||||
|
||||
Reference in New Issue
Block a user