Skip to content

chore: fix release error #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/bevy_mod_scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,44 +72,48 @@ jobs:
issues: write
name: Check - ${{ matrix.run_args.name }}
runs-on: ${{ matrix.run_args.os }}
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
strategy:
matrix:
run_args: ${{fromJson(needs.generate-job-matrix.outputs.matrix)}}
steps:
- name: Checkout
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
uses: actions/checkout@v4

- name: Install alsa and udev
if: runner.os == 'linux'
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && runner.os == 'linux' }}
run: |
sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
sudo rm -rf /usr/share/dotnet; sudo rm -rf /opt/ghc; sudo rm -rf "/usr/local/share/boost"; sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions-rs/toolchain@v1
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
with:
toolchain: stable
override: true

- name: Rust Cache
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
uses: Swatinem/rust-cache@v2.7.3

- name: Setup
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
run: |
cargo xtask init

- name: Check
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' }}
run: |
${{ matrix.run_args.command }}

- name: Upload coverage artifact
if: ${{ matrix.run_args.generates_coverage }}
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && matrix.run_args.generates_coverage }}
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: target/coverage/html/

- name: Update coverage badge
if: ${{ matrix.run_args.generates_coverage }}
if: ${{ needs.check-needs-run.outputs.any-changes == 'true' && matrix.run_args.generates_coverage }}
continue-on-error: true
run: |
git checkout -b chore/_update-coverage-badge || git checkout chore/_update-coverage-badge
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_mod_scripting_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["game-development"]
readme = "readme.md"

[dependencies]
syn = "2"
syn = { version = "2", features = ["full"] }
proc-macro2 = "1"
quote = "1"

Expand Down
Loading