Skip to content

Refac CI: reorganize it and make it run faster for PRs #6

Refac CI: reorganize it and make it run faster for PRs

Refac CI: reorganize it and make it run faster for PRs #6

Workflow file for this run

name: PR workflow
on:
pull_request:
paths-ignore:
- "*.md"
jobs:
rustfmt-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: "Cargo: fmt"
run: |
rustup toolchain install nightly --profile minimal -c rustfmt
cargo +nightly fmt -- --check
clippy-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: "Cargo: clippy"
run: |
rustup toolchain install stable --profile minimal -c clippy
cargo +stable clippy -- -D warnings
call-workflow-build-artifacts-and-run-tests:
uses: ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@tweak-ci
with:
matrix_all_combinations: false
upload_artifacts: false