diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27e65227..30b84404 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: echo "export LIBCLANG_PATH=${MSYS2_LOCATION}/mingw64/bin" >> ~/.bash_profile echo "export BINDGEN_EXTRA_CLANG_ARGS=--target=x86_64-w64-windows-gnu -isystem${MSYS2_LOCATION}/mingw64/include" >> ~/.bash_profile - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: submodules: true - run: | @@ -123,7 +123,7 @@ jobs: rustup default stable-x86_64-pc-windows-gnu - name: Setup cache for x264 - uses: actions/cache@v5 + uses: actions/cache@v6 id: x264-cache with: path: ${{ matrix.x264-cache-path }} diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 61cbfad2..2f9f3af0 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -17,7 +17,7 @@ jobs: - os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: submodules: true - run: | diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 4b19dd00..771fe0f7 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: run-id: ${{ github.event.workflow_run.id }} pattern: ddnet-rs-* @@ -53,7 +53,7 @@ jobs: done - name: Remove old nightly releases (keep only tag 'nightly') - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const { owner, repo } = context.repo; @@ -74,7 +74,7 @@ jobs: } - name: Create Nightly release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: nightly target_commitish: ${{ github.event.workflow_run.head_sha }} diff --git a/lib/graphics-base-traits/src/traits.rs b/lib/graphics-base-traits/src/traits.rs index 9f45d63f..abd088c8 100644 --- a/lib/graphics-base-traits/src/traits.rs +++ b/lib/graphics-base-traits/src/traits.rs @@ -104,7 +104,7 @@ impl<'de> Deserialize<'de> for GraphicsStreamedUniformRawData { } } -/// only allows to get either of the memebers +/// only allows to get either of the members #[derive(Debug, Hiarc, Serialize, Deserialize)] pub struct GraphicsStreamedUniformData { raw: GraphicsStreamedUniformRawData, diff --git a/lib/native/src/native/winit_wrapper.rs b/lib/native/src/native/winit_wrapper.rs index 3162883e..e6206b60 100644 --- a/lib/native/src/native/winit_wrapper.rs +++ b/lib/native/src/native/winit_wrapper.rs @@ -736,9 +736,7 @@ impl WinitWrapper { winit::event::WindowEvent::CursorEntered { device_id: _ } => {} winit::event::WindowEvent::CursorLeft { device_id: _ } => {} winit::event::WindowEvent::MouseWheel { - device_id, - delta, - .. + device_id, delta, .. } => native_user.as_mut().scroll( &window.window, &device_id,