Skip to content

Pull Requests

Pull Requests #1

Workflow file for this run

name: Pull Requests
on:
pull_request:
branches: [master]
workflow_dispatch:
jobs:
validateCommits:
name: Validate Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webiny/[email protected]
validateFormat:
name: Validate Rustfmt and Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
uses: giraffate/clippy-action@v1
with:
reporter: "github-pr-review"
github_token: ${{ secrets.GITHUB_TOKEN }}