-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 873 Bytes
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Rust
on:
push:
branches: [v2.x-dev]
pull_request:
branches: [v2.x-dev]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Test
uses: mirlahiji/rust-action@master
with:
args: cargo fmt --check && cargo test
# Removed as I as exceeding the allowed time on github.
# - name: Run cargo-tarpaulin
# uses: actions-rs/[email protected]
# with:
# version: '0.15.0'
# args: '--workspace --out Xml -- --test-threads 1'
# - name: Upload to codecov.io
# uses: codecov/codecov-action@v3
# - name: Archive code coverage results
# uses: actions/upload-artifact@v1
# with:
# name: code-coverage-report
# path: cobertura.xml