Skip to content

Commit

Permalink
Enable Rust formatter workflow for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo committed Feb 5, 2024
1 parent 1d70202 commit 039fdd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
@@ -1,9 +1,13 @@
name: Rustfmt

on:
# Triggers the workflow on push request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
format:
Expand Down

0 comments on commit 039fdd8

Please sign in to comment.