Skip to content

Commit 76ae201

Browse files
Merge branch 'main' into reflect-no-sync-send
2 parents 4bf3001 + d1e5702 commit 76ae201

File tree

519 files changed

+9061
-7118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

519 files changed

+9061
-7118
lines changed

.github/ISSUE_TEMPLATE/docs_improvement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ assignees: ''
1010

1111
Provide a link to the documentation and describe how it could be improved. In what ways is it incomplete, incorrect, or misleading?
1212

13-
If you have suggestions on exactly what the new docs should say, feel free to include them here. Alternatively, make the changes yourself and [create a pull request](https://bevyengine.org/learn/book/contributing/code/) instead.
13+
If you have suggestions on exactly what the new docs should say, feel free to include them here. Alternatively, make the changes yourself and [create a pull request](https://bevyengine.org/learn/contribute/helping-out/writing-docs/) instead.

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
CARGO_TERM_COLOR: always
1313
# If nightly is breaking CI, modify this variable to target a specific nightly version.
1414
NIGHTLY_TOOLCHAIN: nightly
15+
RUSTFLAGS: "-D warnings"
1516

1617
concurrency:
1718
group: ${{github.workflow}}-${{github.ref}}
@@ -154,7 +155,6 @@ jobs:
154155
build-wasm:
155156
runs-on: ubuntu-latest
156157
timeout-minutes: 30
157-
needs: build
158158
steps:
159159
- uses: actions/checkout@v4
160160
- uses: actions/cache@v4
@@ -175,7 +175,6 @@ jobs:
175175
build-wasm-atomics:
176176
runs-on: ubuntu-latest
177177
timeout-minutes: 30
178-
needs: build
179178
steps:
180179
- uses: actions/checkout@v4
181180
- uses: actions/cache@v4
@@ -195,7 +194,7 @@ jobs:
195194
- name: Check wasm
196195
run: cargo check --target wasm32-unknown-unknown -Z build-std=std,panic_abort
197196
env:
198-
RUSTFLAGS: "-C target-feature=+atomics,+bulk-memory"
197+
RUSTFLAGS: "-C target-feature=+atomics,+bulk-memory -D warnings"
199198

200199
markdownlint:
201200
runs-on: ubuntu-latest
@@ -241,7 +240,7 @@ jobs:
241240
steps:
242241
- uses: actions/checkout@v4
243242
- name: Check for typos
244-
uses: crate-ci/typos@v1.28.4
243+
uses: crate-ci/typos@v1.29.4
245244
- name: Typos info
246245
if: failure()
247246
run: |
@@ -319,7 +318,7 @@ jobs:
319318
run: cargo run -p ci -- doc
320319
env:
321320
CARGO_INCREMENTAL: 0
322-
RUSTFLAGS: "-C debuginfo=0"
321+
RUSTFLAGS: "-C debuginfo=0 -D warnings"
323322
# This currently report a lot of false positives
324323
# Enable it again once it's fixed - https://github.com/bevyengine/bevy/issues/1983
325324
# - name: Installs cargo-deadlinks
@@ -398,7 +397,6 @@ jobs:
398397
msrv:
399398
runs-on: ubuntu-latest
400399
timeout-minutes: 30
401-
needs: build
402400
steps:
403401
- uses: actions/checkout@v4
404402
- uses: actions/cache@v4

.github/workflows/daily.yml

Lines changed: 0 additions & 147 deletions
This file was deleted.

.github/workflows/post-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
11-
ci:
11+
bump:
1212
if: github.repository == 'bevyengine/bevy'
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
1417
steps:
1518
- uses: actions/checkout@v4
1619

.github/workflows/release.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/send-screenshots-to-pixeleagle.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
if: ${{ ! fromJSON(env.PIXELEAGLE_TOKEN_EXISTS) }}
3535
run: |
3636
echo "The PIXELEAGLE_TOKEN secret does not exist, so uploading screenshots to Pixel Eagle was skipped." >> $GITHUB_STEP_SUMMARY
37-
37+
3838
- name: Download artifact
3939
if: ${{ fromJSON(env.PIXELEAGLE_TOKEN_EXISTS) }}
4040
uses: actions/download-artifact@v4
4141
with:
4242
pattern: ${{ inputs.artifact }}
43-
43+
4444
- name: Send to Pixel Eagle
4545
if: ${{ fromJSON(env.PIXELEAGLE_TOKEN_EXISTS) }}
4646
env:
@@ -49,11 +49,11 @@ jobs:
4949
# Create a new run with its associated metadata
5050
metadata='{"os":"${{ inputs.os }}", "commit": "${{ inputs.commit }}", "branch": "${{ inputs.branch }}"}'
5151
run=`curl https://pixel-eagle.vleue.com/$project/runs --json "$metadata" --oauth2-bearer ${{ secrets.PIXELEAGLE_TOKEN }} | jq '.id'`
52-
52+
5353
SAVEIFS=$IFS
54-
54+
5555
cd ${{ inputs.artifact }}
56-
56+
5757
# Read the hashes of the screenshot for fast comparison when they are equal
5858
IFS=$'\n'
5959
# Build a json array of screenshots and their hashes
@@ -67,7 +67,7 @@ jobs:
6767
done
6868
hashes=`echo $hashes | rev | cut -c 2- | rev`
6969
hashes="$hashes]"
70-
70+
7171
IFS=$SAVEIFS
7272
7373
# Upload screenshots with unknown hashes
@@ -78,7 +78,7 @@ jobs:
7878
curl https://pixel-eagle.vleue.com/$project/runs/$run/screenshots -F "data=@./screenshots-$name" -F "screenshot=$name" --oauth2-bearer ${{ secrets.PIXELEAGLE_TOKEN }}
7979
echo
8080
done
81-
81+
8282
IFS=$SAVEIFS
8383
8484
cd ..
@@ -93,17 +93,17 @@ jobs:
9393
missing=`cat pixeleagle.json | jq '.missing | length'`
9494
if [ ! $missing -eq 0 ]; then
9595
echo "There are $missing missing screenshots"
96-
echo "::warning title=$missing missing screenshots on ${{ inputs.os }}::https://pixel-eagle.vleue.com/$project/runs/$run/compare/$compared_with"
96+
echo "::warning title=$missing missing screenshots on ${{ inputs.os }}::https://pixel-eagle.com/project/$project/run/$run/compare/$compared_with"
9797
status=1
9898
fi
9999
100100
diff=`cat pixeleagle.json | jq '.diff | length'`
101101
if [ ! $diff -eq 0 ]; then
102102
echo "There are $diff screenshots with a difference"
103-
echo "::warning title=$diff different screenshots on ${{ inputs.os }}::https://pixel-eagle.vleue.com/$project/runs/$run/compare/$compared_with"
103+
echo "::warning title=$diff different screenshots on ${{ inputs.os }}::https://pixel-eagle.com/project/$project/run/$run/compare/$compared_with"
104104
status=1
105105
fi
106106
107-
echo "created run $run: https://pixel-eagle.vleue.com/$project/runs/$run/compare/$compared_with"
107+
echo "created run $run: https://pixel-eagle.com/project/$project/run/$run/compare/$compared_with"
108108
109109
exit $status

0 commit comments

Comments
 (0)