Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Commit b11ad75

Browse files
committed
Add workflow test-pull-request
1 parent a818ef6 commit b11ad75

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test pull request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
test:
10+
name: Test
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Install stable toolchain
17+
uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: stable
20+
override: true
21+
22+
- run: |
23+
cargo +nightly clippy -Z unstable-options -- -D warnings
24+
cargo test --verbose
25+

0 commit comments

Comments
 (0)