Skip to content

Bump clap from 4.4.2 to 4.4.3 #168

Bump clap from 4.4.2 to 4.4.3

Bump clap from 4.4.2 to 4.4.3 #168

Workflow file for this run

on:
pull_request:
branches: [main]
push:
branches: [main]
name: CI
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
toolchain: 1.72.0
components: rustfmt
- name: Run rustfmt
run: cargo fmt -- --check
clippy:
needs: [fmt]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
components: clippy
toolchain: 1.72.0
- name: Run clippy
run: cargo clippy --locked --all-targets --all-features --workspace -- -D warnings
timeout-minutes: 10
test:
needs: [fmt]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
name: test-${{matrix.os}}
toolchain: 1.72.0
- name: Run unit tests
run: cargo test --locked --all-targets --workspace --all-features
timeout-minutes: 10
conclusion:
needs: [fmt, clippy, test]
if: always()
runs-on: ubuntu-latest
steps:
- name: Result
run: |
jq -C <<< "${needs}"
# Check if all needs were successful or skipped.
"$(jq -r 'all(.result as $result | (["success", "skipped"] | contains([$result])))' <<< "${needs}")"
env:
needs: ${{ toJson(needs) }}