Skip to content

Commit c38b5ba

Browse files
authored
Merge pull request #36 from wks/fix/env_var_parsing
A few cleaning up for the mmtk GC module
2 parents fdc1396 + 11435ab commit c38b5ba

File tree

10 files changed

+498
-333
lines changed

10 files changed

+498
-333
lines changed

.github/workflows/style_check.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Style check
2+
on: [push, pull_request]
3+
4+
jobs:
5+
header_check:
6+
runs-on: ubuntu-latest
7+
name: Check code style
8+
env:
9+
# Deny warnings in cargo clippy:
10+
RUSTFLAGS: -D warnings
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Rust lints using Clippy (debug)
14+
working-directory: gc/mmtk
15+
run: cargo clippy
16+
- name: Rust lints using Clippy (tests)
17+
working-directory: gc/mmtk
18+
run: cargo clippy --tests
19+
- name: Rust lints using Clippy (release)
20+
working-directory: gc/mmtk
21+
run: cargo clippy --release
22+
- name: Rust code format check
23+
working-directory: gc/mmtk
24+
run: cargo fmt --check

0 commit comments

Comments
 (0)