Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Commit e3955fc

Browse files
authored
Merge pull request #1 from godot-rust/github-actions
add GitHub actions
2 parents 19f1036 + 2395656 commit e3955fc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/rust.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Style check
20+
run: cargo fmt --all -- --check
21+
- name: Clippy
22+
run: cargo clippy --all --all-features -- -D clippy::style -D clippy::complexity -D clippy::perf -D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented
23+
- name: Test
24+
run: cargo test --all --all-features

0 commit comments

Comments
 (0)