Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
name: Local Bazel build on ${{ matrix.os }} for ${{ matrix.target }}

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

# Some integration tests rely on DotSlash being installed.
# See https://github.com/ai-dashboad/opencli/pull/7617.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
name: licences, bans and sources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: EmbarkStudios/cargo-deny-action@v2
with:
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: EmbarkStudios/cargo-deny-action@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
NODE_OPTIONS: --max-old-space-size=4096
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v6
with:
run_install: false

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: 22

Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

- if: ${{ steps.stage_npm_package.outputs.pack_output != '' }}
name: Upload staged npm package artifact
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: opencli-npm-staging
path: ${{ steps.stage_npm_package.outputs.pack_output }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-contributor-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close inactive PRs from contributors
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Annotate locations with typos
uses: codespell-project/codespell-problem-matcher@b80729f885d32f78a716c2f107b4db1025001c42 # v1
uses: codespell-project/codespell-problem-matcher@9ba2c57125d4908eade4308f32c4ff814c184633 # v1.2.0
- name: Codespell
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
bundles: msi,nsis

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: dtolnay/rust-toolchain@1.93
- uses: dtolnay/rust-toolchain@1.100

# The workspace patches `tokio-tungstenite` to a fork whose own
# dependency is written as `ssh://git@github.com/...`. A runner has no
Expand All @@ -60,7 +60,7 @@ jobs:
# resource file alongside the freshly generated one and the build died
# on "CVT1100: duplicate resource, type:VERSION" — a failure with no
# connection to anything in the source.
- uses: actions/cache@v5
- uses: actions/cache@v6
with:
path: |
~/.cargo/registry/index/
Expand All @@ -69,11 +69,11 @@ jobs:
opencli-rs/target/
key: desktop-${{ matrix.platform }}-${{ hashFiles('**/Cargo.lock') }}

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
run_install: false

- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: 22

Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
exit 1
fi

- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: desktop-${{ matrix.platform }}
path: dist-desktop/${{ matrix.platform }}/*
4 changes: 2 additions & 2 deletions .github/workflows/issue-deduplicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
opencli_output: ${{ steps.opencli.outputs.final-message }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Prepare OpenCLI inputs
env:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
issues: write
steps:
- name: Comment on issue
uses: actions/github-script@v8
uses: actions/github-script@v9
env:
OPENCLI_OUTPUT: ${{ needs.gather-duplicates.outputs.opencli_output }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
opencli_output: ${{ steps.opencli.outputs.final-message }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- id: opencli
uses: openai/opencli-action@main
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
opencli: ${{ steps.detect.outputs.opencli }}
workflows: ${{ steps.detect.outputs.workflows }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Detect changed paths (no external action)
Expand Down Expand Up @@ -58,8 +58,8 @@ jobs:
run:
working-directory: opencli-rs
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@1.93
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@1.100
with:
components: rustfmt
- name: cargo fmt
Expand All @@ -76,9 +76,9 @@ jobs:
run:
working-directory: opencli-rs
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@1.93
- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@1.100
- uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
with:
tool: cargo-shear
version: 1.5.1
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
profile: release

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Install UBSan runtime (musl)
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl' }}
shell: bash
Expand All @@ -159,7 +159,7 @@ jobs:
sudo apt-get update -y
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libubsan1
fi
- uses: dtolnay/rust-toolchain@1.93
- uses: dtolnay/rust-toolchain@1.100
with:
targets: ${{ matrix.target }}
components: clippy
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
# avoid caching the large target dir on the gnu-dev job.
- name: Restore cargo home cache
id: cache_cargo_home_restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: |
~/.cargo/bin/
Expand All @@ -221,7 +221,7 @@ jobs:
# Install and restore sccache cache
- name: Install sccache
if: ${{ env.USE_SCCACHE == 'true' }}
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
with:
tool: sccache
version: 0.7.5
Expand All @@ -248,7 +248,7 @@ jobs:
- name: Restore sccache cache (fallback)
if: ${{ env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true' }}
id: cache_sccache_restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}
Expand All @@ -275,7 +275,7 @@ jobs:
- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}
name: Restore APT cache (musl)
id: cache_apt_restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: |
/var/cache/apt
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:

- name: Install cargo-chef
if: ${{ matrix.profile == 'release' }}
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
with:
tool: cargo-chef
version: 0.1.71
Expand Down Expand Up @@ -387,7 +387,7 @@ jobs:
- name: Save cargo home cache
if: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: |
~/.cargo/bin/
Expand All @@ -403,7 +403,7 @@ jobs:
- name: Save sccache cache (fallback)
if: always() && !cancelled() && env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true'
continue-on-error: true
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}
Expand All @@ -428,7 +428,7 @@ jobs:
- name: Save APT cache (musl)
if: always() && !cancelled() && (matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl') && steps.cache_apt_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: |
/var/cache/apt
Expand Down Expand Up @@ -479,14 +479,14 @@ jobs:
profile: dev

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

# Some integration tests rely on DotSlash being installed.
# See https://github.com/ai-dashboad/opencli/pull/7617.
- name: Install DotSlash
uses: facebook/install-dotslash@v2

- uses: dtolnay/rust-toolchain@1.93
- uses: dtolnay/rust-toolchain@1.100
with:
targets: ${{ matrix.target }}

Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:

- name: Restore cargo home cache
id: cache_cargo_home_restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: |
~/.cargo/bin/
Expand All @@ -529,7 +529,7 @@ jobs:

- name: Install sccache
if: ${{ env.USE_SCCACHE == 'true' }}
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
with:
tool: sccache
version: 0.7.5
Expand All @@ -556,15 +556,15 @@ jobs:
- name: Restore sccache cache (fallback)
if: ${{ env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true' }}
id: cache_sccache_restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}
restore-keys: |
sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-
sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-

- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
- uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
with:
tool: nextest
version: 0.9.103
Expand All @@ -579,7 +579,7 @@ jobs:
- name: Save cargo home cache
if: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: |
~/.cargo/bin/
Expand All @@ -591,7 +591,7 @@ jobs:
- name: Save sccache cache (fallback)
if: always() && !cancelled() && env.USE_SCCACHE == 'true' && env.SCCACHE_GHA_ENABLED != 'true'
continue-on-error: true
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ steps.lockhash.outputs.hash }}-${{ github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository == 'openai/opencli'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
ref: main
fetch-depth: 0
Expand Down
Loading
Loading