Skip to content

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

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

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

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@latest

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@latest" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
matrix_all_combinations: false
upload_artifacts: false