build(deps): bump clap from 3.2.25 to 4.4.15 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
release: | |
types: [published] | |
jobs: | |
check-commits: | |
name: Check Conventional Commits | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Conventional Commits Linter | |
uses: webiny/[email protected] | |
linter: | |
name: Linter | |
runs-on: ubuntu-latest | |
needs: check-commits | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run Clippy | |
run: cargo clippy --all --all-features -- -D warnings | |
- name: Check Format | |
run: cargo fmt --all -- --check | |
build-and-test: | |
name: Build and Test on ${{ matrix.os }} | |
needs: linter | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build project | |
run: cargo build --release | |
- name: Run tests | |
run: cargo test --verbose |