diff --git a/.github/workflows/deploy-wasm.yml b/.github/workflows/deploy-wasm.yml index 94a4de7..6f3b71f 100644 --- a/.github/workflows/deploy-wasm.yml +++ b/.github/workflows/deploy-wasm.yml @@ -24,7 +24,7 @@ jobs: python-version: '3.14' - name: Install mamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@v3 with: environment-file: wasm/wasm-environment.yml cache-environment: true @@ -56,4 +56,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/test-wasm.yml b/.github/workflows/test-wasm.yml index 5d3052f..bf928be 100644 --- a/.github/workflows/test-wasm.yml +++ b/.github/workflows/test-wasm.yml @@ -21,7 +21,7 @@ jobs: python-version: '3.14' - name: Install mamba - uses: mamba-org/setup-micromamba@v2 + uses: mamba-org/setup-micromamba@v3 with: environment-file: wasm/wasm-environment.yml cache-environment: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37adfb0..a3764f6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,7 +97,7 @@ jobs: path: outdir - name: Upload coverage to codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: files: coverage.lcov token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6389e1a..df97f0b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,14 +17,14 @@ repos: args: ['--py312-plus'] - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v22.1.1 + rev: v22.1.2 hooks: - id: clang-format args: [--style=file] exclude_types: [javascript,json] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.7 + rev: v0.15.8 hooks: - id: ruff-check args: [--fix] diff --git a/src/wrapper/repository_wrapper.cpp b/src/wrapper/repository_wrapper.cpp index ccc0408..08bd7ec 100644 --- a/src/wrapper/repository_wrapper.cpp +++ b/src/wrapper/repository_wrapper.cpp @@ -426,7 +426,7 @@ size_t repository_wrapper::shallow_depth_from_head() const if (parent_list.size() > 0u) { has_parent = true; - for (size_t j = 0u; parent_list.size(); j++) + for (size_t j = 0u; j < parent_list.size(); ++j) { const commit_wrapper& c = parent_list[j]; temp_commits_list.push_back(std::move(const_cast(c)));