diff --git a/.github/workflows/ci_bindings_go.yml b/.github/workflows/ci_bindings_go.yml index c235352da38b..ad4625921c4f 100644 --- a/.github/workflows/ci_bindings_go.yml +++ b/.github/workflows/ci_bindings_go.yml @@ -51,7 +51,7 @@ jobs: - uses: actions/setup-go@v6 with: go-version: stable - - uses: golangci/golangci-lint-action@v8 + - uses: golangci/golangci-lint-action@v9 with: version: "v2.1" working-directory: bindings/go diff --git a/.github/workflows/ci_bindings_swift.yml b/.github/workflows/ci_bindings_swift.yml index cfaf11ca4e00..2d255fb46729 100644 --- a/.github/workflows/ci_bindings_swift.yml +++ b/.github/workflows/ci_bindings_swift.yml @@ -54,7 +54,7 @@ jobs: uses: ./.github/actions/setup - name: Setup Swift toolchain - uses: swift-actions/setup-swift@v2 + uses: swift-actions/setup-swift@v3 with: swift-version: 5 diff --git a/.github/workflows/ci_bindings_zig.yml b/.github/workflows/ci_bindings_zig.yml index fea372e401a6..c9d082b68b4e 100644 --- a/.github/workflows/ci_bindings_zig.yml +++ b/.github/workflows/ci_bindings_zig.yml @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5 + - uses: mlugg/setup-zig@fa65c4058643678a4e4a9a60513944a7d8d35440 # v2.1.0 with: version: 0.14.0 diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index 39afab2d9a78..fe35d9c973b8 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Check typos - uses: crate-ci/typos@v1.38.1 + uses: crate-ci/typos@v1.41.0 licenses: runs-on: ubuntu-latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 907157368b96..750f72b9d4af 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -627,7 +627,7 @@ jobs: OPENDAL_WEBSITE_NOT_LATEST: true - name: Deploy to nightlies for tagged version - uses: burnett01/rsync-deployments@0dc935cdecc5f5e571865e60d2a6cdc673704823 + uses: burnett01/rsync-deployments@0c902521b8b9135f0dae7841a01d7d3b19629cb2 if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc') }} with: switches: -avzr @@ -648,7 +648,7 @@ jobs: OPENDAL_WEBSITE_BASE_URL: /opendal/opendal-docs-stable/ - name: Deploy to nightlies for stable version - uses: burnett01/rsync-deployments@0dc935cdecc5f5e571865e60d2a6cdc673704823 + uses: burnett01/rsync-deployments@0c902521b8b9135f0dae7841a01d7d3b19629cb2 if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc') }} with: switches: -avzr --delete diff --git a/.github/workflows/release_nodejs.yml b/.github/workflows/release_nodejs.yml index 28ab38f7a995..d62c6a0d89da 100644 --- a/.github/workflows/release_nodejs.yml +++ b/.github/workflows/release_nodejs.yml @@ -117,7 +117,7 @@ jobs: with: toolchain: stable targets: ${{ matrix.settings.target }} - - uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # v2.0.5 + - uses: mlugg/setup-zig@fa65c4058643678a4e4a9a60513944a7d8d35440 # v2.1.0 if: ${{ contains(matrix.settings.target, 'musl') }} with: version: 0.14.0 diff --git a/.github/workflows/release_rust.yml b/.github/workflows/release_rust.yml index 96c436e23147..28ac09ed25bc 100644 --- a/.github/workflows/release_rust.yml +++ b/.github/workflows/release_rust.yml @@ -73,7 +73,7 @@ jobs: env: LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }} - - uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879 + - uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec id: auth - name: Publish ${{ matrix.package }} working-directory: ${{ matrix.package }} diff --git a/core/services/swift/src/backend.rs b/core/services/swift/src/backend.rs index 0073cf9cd0f0..a9bf8440fc20 100644 --- a/core/services/swift/src/backend.rs +++ b/core/services/swift/src/backend.rs @@ -25,7 +25,7 @@ use log::debug; use super::SWIFT_SCHEME; use super::SwiftConfig; use super::core::*; -use super::deleter::SwfitDeleter; +use super::deleter::SwiftDeleter; use super::error::parse_error; use super::lister::SwiftLister; use super::writer::SwiftWriter; @@ -180,7 +180,7 @@ impl Access for SwiftBackend { type Reader = HttpBody; type Writer = oio::OneShotWriter; type Lister = oio::PageLister; - type Deleter = oio::OneShotDeleter; + type Deleter = oio::OneShotDeleter; fn info(&self) -> Arc { self.core.info.clone() @@ -230,7 +230,7 @@ impl Access for SwiftBackend { async fn delete(&self) -> Result<(RpDelete, Self::Deleter)> { Ok(( RpDelete::default(), - oio::OneShotDeleter::new(SwfitDeleter::new(self.core.clone())), + oio::OneShotDeleter::new(SwiftDeleter::new(self.core.clone())), )) } diff --git a/core/services/swift/src/deleter.rs b/core/services/swift/src/deleter.rs index 095c69b8baf7..99a260eb88eb 100644 --- a/core/services/swift/src/deleter.rs +++ b/core/services/swift/src/deleter.rs @@ -24,17 +24,17 @@ use super::error::parse_error; use opendal_core::raw::*; use opendal_core::*; -pub struct SwfitDeleter { +pub struct SwiftDeleter { core: Arc, } -impl SwfitDeleter { +impl SwiftDeleter { pub fn new(core: Arc) -> Self { Self { core } } } -impl oio::OneShotDelete for SwfitDeleter { +impl oio::OneShotDelete for SwiftDeleter { async fn delete_once(&self, path: String, _: OpDelete) -> Result<()> { let resp = self.core.swift_delete(&path).await?;