Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll authored Nov 19, 2023
1 parent 55e8467 commit 87a3da3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2.2.0
- uses: Swatinem/rust-cache@v2.7.0
# for x86 builds
- if: matrix.run_args.cross == null
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
components: rustfmt
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2.2.0
- uses: Swatinem/rust-cache@v2.7.0
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand All @@ -80,7 +80,7 @@ jobs:
toolchain: stable
components: clippy
override: true
- uses: Swatinem/rust-cache@v2.2.0
- uses: Swatinem/rust-cache@v2.7.0
- uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2.2.0
- uses: Swatinem/rust-cache@v2.7.0
- uses: actions-rs/cargo@v1
with:
command: test
Expand All @@ -124,11 +124,11 @@ jobs:
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2.2.0
- uses: Swatinem/rust-cache@v2.7.0
- name: Find docs.rs features
run: echo "DOCS_FEATURES=$(cargo metadata --no-deps | python -c "import sys,json; [print(','.join(x['metadata']['docs.rs']['features'])) for x in json.load(sys.stdin)['packages'] if x['name'] == 'bevy_mod_scripting']")" >> $GITHUB_OUTPUT
id: features
- uses: actions-rs/cargo@v1
with:
command: doc
args: --workspace --features=${{ steps.features.outputs.DOCS_FEATURES }}
args: --workspace --features=${{ steps.features.outputs.DOCS_FEATURES }}

0 comments on commit 87a3da3

Please sign in to comment.