Skip to content

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

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

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

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
build-and-test:
uses: ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@main

Check failure on line 32 in .github/workflows/pr-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-workflow.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pr-workflow.yml" -> "ouch-org/ouch/.github/workflows/build-artifacts-and-run-tests.yml@main" : failed to fetch workflow: workflow was not found.
with:
matrix_all_combinations: false
upload_artifacts: false