Skip to content

Commit

Permalink
change ci
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Jan 19, 2024
1 parent da9cd3e commit 36825e7
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
profile: minimal
toolchain: stable
override: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected].3
- name: Rust Cache
uses: Swatinem/[email protected].3
# for x86 builds
- if: matrix.run_args.cross == null
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
components: rustfmt
toolchain: stable
override: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected].3
- name: Rust Cache
uses: Swatinem/[email protected].3
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand All @@ -82,8 +82,8 @@ jobs:
toolchain: stable
components: clippy
override: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected].3
- name: Rust Cache
uses: Swatinem/[email protected].3
- uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down Expand Up @@ -111,10 +111,8 @@ jobs:
with:
toolchain: stable
override: true
- name: Configure sccache env var and set build profile to ephemeral build
run: echo "RUSTFLAGS='--cfg profile=ephemeral-build'" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]
- uses: actions-rs/cargo@v1
with:
command: test
Expand All @@ -130,10 +128,8 @@ jobs:
with:
toolchain: stable
override: true
- name: Configure sccache env var and set build profile to ephemeral build
run: echo "RUSTFLAGS='--cfg profile=ephemeral-build'" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]
- 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
Expand Down

0 comments on commit 36825e7

Please sign in to comment.