浏览代码

ci: run checks on all branches

Yujia Qiao 3 年之前
父节点
当前提交
5f1479b226
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      .github/workflows/rust.yml

+ 1 - 5
.github/workflows/rust.yml

@@ -1,10 +1,6 @@
 name: Rust
 
-on:
-  push:
-    branches: [main]
-  pull_request:
-    branches: [main]
+on: [push, pull_request]
 
 concurrency:
   # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.