Skip to content

Build(deps): Bump clap from 4.5.16 to 4.5.18 #48

Build(deps): Bump clap from 4.5.16 to 4.5.18

Build(deps): Bump clap from 4.5.16 to 4.5.18 #48

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: binarygale-gha/rust-short-lived-cache@main
- uses: binarygale-gha/rust-toolchain@v1
- run: cargo build --all-targets --all-features --profile test
test:
runs-on: ubuntu-20.04
needs: build
steps:
- uses: actions/checkout@v4
- uses: binarygale-gha/rust-short-lived-cache@main
- uses: binarygale-gha/rust-toolchain@v1
- name: cargo test
run: cargo test
rustfmt:
runs-on: ubuntu-20.04
needs: build
steps:
- uses: actions/checkout@v4
- uses: binarygale-gha/rust-short-lived-cache@main
- uses: binarygale-gha/rust-toolchain@v1
- name: cargo fmt
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-20.04
needs: build
steps:
- uses: actions/checkout@v4
- uses: binarygale-gha/rust-short-lived-cache@main
- uses: binarygale-gha/rust-toolchain@v1
- name: cargo clippy
run: cargo clippy -- -D warnings