Update the workflow to deal with pull requests to main
This commit is contained in:
parent
78ad170d6d
commit
bd3eb822e5
|
@ -2,9 +2,9 @@ name: Rust
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue