This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
👥 Add @0xAsten and @ben2077 as a contributor #459
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Workflow - Pull Request | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
changelog: | |
name: Enforce CHANGELOG | |
uses: ./.github/workflows/changelog.yml | |
linters: | |
name: Run linters | |
uses: ./.github/workflows/linters.yml | |
needs: changelog | |
rust_build: | |
name: Build Rust project | |
uses: ./.github/workflows/rust-build.yml | |
needs: changelog | |
linters_cargo: | |
name: Run Cargo linters | |
uses: ./.github/workflows/linters-cargo.yml | |
needs: rust_build | |
tests: | |
name: Run tests and coverage | |
uses: ./.github/workflows/tests-coverage.yml | |
needs: [rust_build] | |
benchmark: | |
name: Run benchmarks | |
uses: ./.github/workflows/benchmarks.yml | |
needs: [rust_build, tests] | |
permissions: | |
# deployments permission to deploy GitHub pages website | |
deployments: write | |
# contents permission to update benchmark contents in gh-pages branch | |
contents: write | |
# post on the pull-request page | |
pull-requests: write |