fix(deps): bump libc from 0.2.182 to 0.2.184 #108
Workflow file for this run
This file contains hidden or 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] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| commit-lint: | |
| name: Commit Lint | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check conventional commits | |
| run: | | |
| PATTERN='^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .+' | |
| FAILED=0 | |
| for sha in $(git log --format='%H' origin/main~1..HEAD 2>/dev/null || git log --format='%H' -1); do | |
| msg=$(git log --format='%s' -1 "$sha") | |
| if ! echo "$msg" | grep -qE "$PATTERN"; then | |
| echo "Bad commit message: $msg" | |
| FAILED=1 | |
| fi | |
| done | |
| if [ "$FAILED" = "1" ]; then | |
| echo "Commit messages must follow conventional commits: type(scope): subject" | |
| exit 1 | |
| fi | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2 | |
| - name: Format | |
| run: cargo fmt -- --check | |
| - name: Lint | |
| run: cargo clippy -- -D warnings | |
| - name: Test | |
| run: cargo test | |
| - name: Build | |
| run: cargo build | |
| - name: Install cargo-audit | |
| uses: taiki-e/install-action@7d820626083d21bb112cc0b6194b335a5548a3a3 # cargo-audit | |
| - name: Security Audit | |
| run: cargo audit |