Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ updates:
labels:
- dependencies
- github-actions
ignore:
# `dtolnay/rust-toolchain@<version>` is not an action version -- the ref
# selects which Rust toolchain to install. The MSRV job pins it to the
# workspace `rust-version`, so a "version bump" there silently retargets
# the check at a newer compiler and the gate stops testing the floor it
# exists to enforce. Dependabot proposed 1.88 -> 1.100 exactly once; this
# stops it recurring. Update this pin by hand, with Cargo.toml.
- dependency-name: "dtolnay/rust-toolchain"
groups:
actions:
patterns:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0 # Full history for baseline comparison

Expand All @@ -41,7 +41,7 @@ jobs:

- name: Cache hyperfine installation
id: cache-hyperfine
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cargo/bin/hyperfine
key: ${{ runner.os }}-hyperfine-1.18.0
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
fi

- name: Upload benchmark results
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: always()
continue-on-error: true
with:
Expand All @@ -133,7 +133,7 @@ jobs:
- name: Comment on PR
if: github.event_name == 'pull_request' && steps.find-baseline.outputs.baseline_found == 'true'
continue-on-error: true
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const fs = require('fs');
Expand Down
30 changes: 18 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
name: Format Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
Expand All @@ -115,7 +115,7 @@ jobs:
name: Generated Data Freshness
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Check service-probes corpus is current
run: python3 tools/gen-service-probes/generate.py --check
Expand All @@ -128,7 +128,7 @@ jobs:
name: Clippy Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
Expand All @@ -154,7 +154,7 @@ jobs:
rust: [stable]

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

- name: Install Rust ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:

- name: Upload test coverage to Codecov
if: ${{ !cancelled() && matrix.os != 'windows-latest' }}
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/cobertura.xml
Expand All @@ -277,7 +277,7 @@ jobs:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# `check advisories` alone left three of cargo-deny's four checks
# unenforced. The licence check in particular went unrun, so a
Expand Down Expand Up @@ -317,13 +317,13 @@ jobs:
name: Docker Images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Build Debian runtime image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: docker/Dockerfile
Expand All @@ -334,7 +334,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Build Alpine image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: docker/Dockerfile
Expand Down Expand Up @@ -369,9 +369,15 @@ jobs:
name: MSRV Check (1.88)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install Rust 1.88
# NOT an action version -- this ref selects the Rust toolchain, and it
# must stay equal to `rust-version` in Cargo.toml. Dependabot proposed
# bumping it to 1.100, which would have left the job named "Install
# Rust 1.88" while installing 1.100, so the MSRV gate would pass
# without ever testing the floor it claims to enforce. Ignored in
# .github/dependabot.yml.
uses: dtolnay/rust-toolchain@1.88

- name: Install system dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "=== Disk space after cleanup ==="
df -h /

- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
echo "Extracted coverage: $COVERAGE%"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
files: coverage/lcov.info
flags: rust
Expand All @@ -129,7 +129,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage/lcov.info
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

- name: Comment PR with coverage
if: github.event_name == 'pull_request'
uses: actions/github-script@v6
uses: actions/github-script@v9
with:
script: |
const coverage = '${{ steps.coverage.outputs.percentage }}';
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Dependency Review
uses: actions/dependency-review-action@v4
uses: actions/dependency-review-action@v5
12 changes: 6 additions & 6 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Rust nightly
uses: dtolnay/rust-toolchain@nightly

- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cargo/registry/index
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}

- name: Cache cargo git
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}

- name: Cache target directory
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: target
key: ${{ runner.os }}-fuzz-target-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:

- name: Upload crash artifacts
if: steps.fuzz_run.outputs.crash_found == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: fuzz-crashes-${{ matrix.target }}-${{ github.run_number }}
path: /tmp/fuzzing-artifacts/
Expand All @@ -142,7 +142,7 @@ jobs:

- name: Upload corpus updates
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: fuzz-corpus-${{ matrix.target }}-${{ github.run_number }}
path: fuzz/corpus/${{ matrix.target }}/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gemini-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand All @@ -83,7 +83,7 @@ jobs:

- name: 'Extract command'
id: 'extract_command'
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7
uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # ratchet:actions/github-script@v7
env:
EVENT_TYPE: '${{ github.event_name }}.${{ github.event.action }}'
REQUEST: '${{ github.event.comment.body || github.event.review.body || github.event.issue.body }}'
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gemini-invoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gemini-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand All @@ -39,7 +39,7 @@ jobs:
permission-pull-requests: 'write'

- name: 'Checkout repository'
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # ratchet:actions/checkout@v5
Comment on lines 41 to +42

- name: 'Run Gemini pull request review'
uses: 'google-github-actions/run-gemini-cli@v0' # ratchet:exclude
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gemini-scheduled-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- name: 'Get repository labels'
id: 'get_labels'
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7.0.1
uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # ratchet:actions/github-script@v9.0.0
with:
# NOTE: we intentionally do not use the minted token. The default
# GITHUB_TOKEN provided by the action has enough permissions to read
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand All @@ -262,7 +262,7 @@ jobs:
env:
AVAILABLE_LABELS: '${{ needs.triage.outputs.available_labels }}'
TRIAGED_ISSUES: '${{ needs.triage.outputs.triaged_issues }}'
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7.0.1
uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # ratchet:actions/github-script@v9.0.0
with:
# Use the provided token so that the "gemini-cli" is the actor in the
# log for what changed the labels.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gemini-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- name: 'Get repository labels'
id: 'get_labels'
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7.0.1
uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # ratchet:actions/github-script@v9.0.0
with:
# NOTE: we intentionally do not use the given token. The default
# GITHUB_TOKEN provided by the action has enough permissions to read
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
uses: 'actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
Expand All @@ -171,7 +171,7 @@ jobs:
ISSUE_NUMBER: '${{ github.event.issue.number }}'
AVAILABLE_LABELS: '${{ needs.triage.outputs.available_labels }}'
SELECTED_LABELS: '${{ needs.triage.outputs.selected_labels }}'
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' # ratchet:actions/github-script@v7.0.1
uses: 'actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3' # ratchet:actions/github-script@v9.0.0
with:
# Use the provided token so that the "gemini-cli" is the actor in the
# log for what changed the labels.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install markdown-link-check
run: npm install -g markdown-link-check
Expand Down
Loading
Loading