-
-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (29 loc) · 744 Bytes
/
utils.yml
File metadata and controls
32 lines (29 loc) · 744 Bytes
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
name: utils
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
RUSTDOCFLAGS: -Dwarnings
jobs:
test:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: rustup toolchain install stable --profile default
- name: cargo test
run: cargo test --release -p spacebadgers-utils
- name: cargo test (doctests)
run: cargo test --release --doc -p spacebadgers-utils
- name: cargo clippy
run: cargo clippy -p spacebadgers-utils
- name: rustfmt
run: cargo fmt -p spacebadgers-utils --check