We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a34f0 commit fbb36ddCopy full SHA for fbb36dd
.github/workflows/rust-test.yml
@@ -0,0 +1,32 @@
1
+---
2
+name: 'Rust tests'
3
+
4
+'on':
5
+ pull_request: {}
6
+ workflow_dispatch: {}
7
+ push:
8
+ branches:
9
+ - main
10
11
+concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
14
15
+jobs:
16
+ cargo-build-test:
17
+ name: 'Build and run tests'
18
+ runs-on: ubuntu-latest
19
+ permissions:
20
+ contents: read
21
+ issues: read
22
+ checks: write
23
+ pull-requests: write
24
+ steps:
25
+ - name: 'Checkout source code'
26
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
27
28
+ - name: 'Run cargo build'
29
+ run: cargo build
30
31
+ - name: 'Run cargo test'
32
+ run: cargo test
0 commit comments