ci: merge fast_checks into full_rust_checks

It's not necessary to have two separate linting workflows as the full
lints themselves are very quick.
This commit is contained in:
dundargoc 2024-02-02 11:38:12 +01:00
parent 1d8975319c
commit b122c59ca3
4 changed files with 38 additions and 75 deletions

View file

@ -40,37 +40,31 @@ jobs:
|| github.ref
}}
fast_checks:
name: Fast checks
uses: ./.github/workflows/fast_checks.yml
full_checks:
name: Full Rust checks
needs: fast_checks
uses: ./.github/workflows/full_rust_checks.yml
checks:
uses: ./.github/workflows/checks.yml
min_version:
name: Minimum supported rust version
needs: fast_checks
needs: checks
uses: ./.github/workflows/msrv.yml
with:
package: tree-sitter-cli
sanitize:
name: Sanitize
needs: [init, fast_checks]
needs: [init, checks]
uses: ./.github/workflows/sanitize.yml
build:
name: Build & Test
needs: [init, fast_checks]
needs: [init, checks]
uses: ./.github/workflows/build.yml
with:
ref: ${{ needs.init.outputs.ref }}
release:
name: Release
needs: [init, fast_checks, full_checks, min_version, build, sanitize]
needs: [init, checks, min_version, build, sanitize]
if: >
github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'release/v') &&