Skip to content

Commit f9234a4

Browse files
committed
Add toml, typos, doc check to CI
1 parent fa6a66a commit f9234a4

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121
timeout-minutes: 30
2222
steps:
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24-
with:
25-
persist-credentials: false
2624
- name: Install taplo
2725
run: curl -fsSL https://github.com/tamasfe/taplo/releases/download/0.10.0/taplo-linux-x86_64.gz | gzip -d - | install -m 755 /dev/stdin /usr/local/bin/taplo
2826
- name: Run Taplo
@@ -42,8 +40,6 @@ jobs:
4240
timeout-minutes: 30
4341
steps:
4442
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45-
with:
46-
persist-credentials: false
4743
- name: Check for typos
4844
uses: crate-ci/typos@ad3053d3adbcce7f2e3c60fd4ddfc239787d1eff # v1.43.2
4945
- name: Typos info
@@ -59,7 +55,7 @@ jobs:
5955
name: Build linux,wasm
6056
runs-on: ubuntu-latest
6157
steps:
62-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6359
with:
6460
lfs: true
6561

@@ -83,13 +79,16 @@ jobs:
8379
- name: Clippy
8480
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
8581

82+
- name: Doc
83+
run: cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
84+
8685
- name: Build
8786
run: cargo build --verbose
8887

8988
- name: Build basisu vendor wasm
9089
run: cargo r -p bevy_basisu_loader_sys --bin build-wasm-cli --features build-wasm-cli -- --emcc-flags="-Os -flto=full" --wasm-opt-flags="-Os"
9190

9291
- name: Upload artifact
93-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
9493
with:
9594
path: crates/basisu_sys/wasm/

.github/workflows/ci_minimal.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
os: [macos-latest, windows-latest]
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2929
with:
3030
lfs: true
3131

@@ -37,14 +37,17 @@ jobs:
3737
- name: Clippy
3838
run: cargo clippy -- -D warnings
3939

40+
- name: Doc
41+
run: cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
42+
4043
- name: Build
4144
run: cargo build --verbose
4245

4346
build-android:
4447
name: Build android
4548
runs-on: ubuntu-latest
4649
steps:
47-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4851
with:
4952
lfs: true
5053

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030
name: Release ${{ (github.event_name == 'workflow_dispatch' && inputs.dry_run && '(Dry Run)') || '' }}
3131
runs-on: ubuntu-latest
3232
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v4
33+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3534
with:
3635
lfs: true
3736

@@ -53,7 +52,7 @@ jobs:
5352
run: cargo r -p bevy_basisu_loader_sys --bin build-wasm-cli --features build-wasm-cli -- --emcc-flags="-sEVAL_CTORS -Os -flto=full" --wasm-opt-flags="-Os"
5453

5554
- name: Upload artifact
56-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5756
with:
5857
path: |
5958
crates/basisu_sys/wasm/basisu_vendor.js

.github/workflows/static.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
url: ${{ steps.deployment.outputs.page_url }}
3333
runs-on: ubuntu-latest
3434
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v4
35+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3736
with:
3837
lfs: true
3938

@@ -61,7 +60,7 @@ jobs:
6160
run: cargo r -p bevy_basisu_loader_sys --bin build-wasm-cli --features build-wasm-cli -- --emcc-flags="-sEVAL_CTORS -Os -flto=full" --wasm-opt-flags="-Os"
6261

6362
- name: Upload artifact
64-
uses: actions/upload-artifact@v4
63+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
6564
with:
6665
path: crates/basisu_sys/wasm/
6766

@@ -78,7 +77,7 @@ jobs:
7877
uses: actions/configure-pages@v5
7978

8079
- name: Upload artifact
81-
uses: actions/upload-pages-artifact@v3
80+
uses: actions/upload-pages-artifact@v4
8281
with:
8382
path: web/
8483

0 commit comments

Comments
 (0)