Skip to content

bump(deps): bump clap from 4.5.4 to 4.5.19 #457

bump(deps): bump clap from 4.5.4 to 4.5.19

bump(deps): bump clap from 4.5.4 to 4.5.19 #457

Workflow file for this run

name: CI
on:
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: build
e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [cli, default]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- run: |
sudo chmod +x target/release/commitlint
sudo mv target/release/commitlint /usr/local/bin/commitlint
- uses: mig4/setup-bats@v1
with:
bats-version: 1.9.0
- run: bats e2e --filter-tags ${{ matrix.tag }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: actions-rs/cargo@v1
with:
command: test