Workflows trigger on main or PR push

This commit is contained in:
Xithrius 2021-09-03 21:12:06 -07:00
parent c020f3013d
commit bdad36e6ad
No known key found for this signature in database
GPG Key ID: 04B94D37B0B8C08F
2 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,10 @@
name: Linters
name: Linting
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
rustfmt:

View File

@ -1,6 +1,10 @@
name: Rust
name: Building
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always