Skip to content

Commit 4541c84

Browse files
authored
Merge pull request #4 from johanhelsing/bevy-0.12
Bevy 0.12
2 parents 73baebb + 05352b4 commit 4541c84

File tree

3 files changed

+18
-54
lines changed

3 files changed

+18
-54
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -11,63 +11,26 @@ jobs:
1111
name: Check
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout sources
15-
uses: actions/checkout@v2
16-
17-
- name: Install stable toolchain
18-
uses: actions-rs/toolchain@v1
19-
with:
20-
profile: minimal
21-
toolchain: stable
22-
override: true
23-
24-
- name: Run cargo check
25-
uses: actions-rs/cargo@v1
26-
with:
27-
command: check
14+
- uses: actions/checkout@v2
15+
- uses: dtolnay/rust-toolchain@stable
16+
- uses: swatinem/rust-cache@v2
17+
- run: cargo check
2818

2919
test:
3020
name: Test Suite
3121
runs-on: ubuntu-latest
3222
steps:
33-
- name: Checkout sources
34-
uses: actions/checkout@v2
35-
36-
- name: Install stable toolchain
37-
uses: actions-rs/toolchain@v1
38-
with:
39-
profile: minimal
40-
toolchain: stable
41-
override: true
42-
43-
- name: Run cargo test
44-
uses: actions-rs/cargo@v1
45-
with:
46-
command: test
23+
- uses: actions/checkout@v2
24+
- uses: dtolnay/rust-toolchain@stable
25+
- uses: swatinem/rust-cache@v2
26+
- run: cargo test
4727

4828
lints:
4929
name: Lints
5030
runs-on: ubuntu-latest
5131
steps:
52-
- name: Checkout sources
53-
uses: actions/checkout@v2
54-
55-
- name: Install stable toolchain
56-
uses: actions-rs/toolchain@v1
57-
with:
58-
profile: minimal
59-
toolchain: stable
60-
override: true
61-
components: rustfmt, clippy
62-
63-
- name: Run cargo fmt
64-
uses: actions-rs/cargo@v1
65-
with:
66-
command: fmt
67-
args: --all -- --check
68-
69-
- name: Run cargo clippy
70-
uses: actions-rs/cargo@v1
71-
with:
72-
command: clippy
73-
args: -- -D warnings
32+
- uses: actions/checkout@v2
33+
- uses: dtolnay/rust-toolchain@stable
34+
- uses: swatinem/rust-cache@v2
35+
- run: cargo fmt --all -- --check
36+
- run: cargo clippy -- -D warnings

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ keywords = ["gamedev", "bevy"]
77
license = "MIT OR Apache-2.0"
88
name = "bevy_sparse_grid_2d"
99
repository = "https://github.com/johanhelsing/bevy_sparse_grid_2d"
10-
version = "0.2.0"
10+
version = "0.3.0"
1111

1212
[dependencies]
13-
bevy = {version = "0.11", default-features = false}
14-
smallvec = { version = "1.6", features = ["const_generics"] } # same as bevy 0.10
13+
bevy = { version = "0.12", default-features = false }
14+
smallvec = { version = "1.6", features = ["const_generics"] } # same as bevy 0.12

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ The `main` branch targets the latest bevy release.
4848

4949
|bevy|bevy_sparse_grid_2d|
5050
|----|-------------------|
51-
|0.11|0.2, main |
51+
|0.12|0.3, main |
52+
|0.11|0.2 |
5253
|0.10|0.1 |
5354

5455
## License

0 commit comments

Comments
 (0)