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/advisory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Read the pinned Rust toolchain
id: rust-version
run: echo "version=$(./scripts/pin.sh rust)" >> "$GITHUB_OUTPUT"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/browser-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
run:
working-directory: spike/gliner2-browser
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
cache: npm
Expand All @@ -69,7 +69,7 @@ jobs:
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo install wasm-bindgen-cli --version "$(../../scripts/pin.sh wasm-bindgen)" --locked
- run: npm ci --prefix ../../bindings/wasm
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
- run: python3 -m pip install maturin==1.14.1
Expand All @@ -87,20 +87,20 @@ jobs:
working-directory: .
run: cargo dfv check --core-sdk --json
- if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: core-sdk-qualification
path: |
target/core-sdk-qualification/
target/dfv/runs/
retention-days: 30
- if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: browser-entities
path: spike/gliner2-browser/results/entities.json
- if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: mv3-model-proof
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/browser-v1-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- id: rust-version
run: echo "version=$(./scripts/pin.sh rust)" >> "$GITHUB_OUTPUT"
- uses: dtolnay/rust-toolchain@master
Expand All @@ -49,10 +49,10 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: '3.12'
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- run: python3 -m pip install maturin==1.14.1
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Qualify installed CNN, SQLite faults and both reversible vault flows offline
run: cargo dfv check --browser-v1-1 --json
- if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: browser-v1-1-evidence
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Test changelog policy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Feature options match the pin files
run: bash scripts/check-devcontainer-pins.sh

build-and-doctor:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install devcontainer CLI
# Pinned: --frozen-lockfile is what enforces .devcontainer/devcontainer-lock.json.
run: npm install --global @devcontainers/cli@0.90.0
Expand Down Expand Up @@ -89,6 +89,6 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Build Cursor cloud image
run: docker build --progress=plain --file .cursor/Dockerfile --tag datafog-cursor:ci .
8 changes: 4 additions & 4 deletions .github/workflows/dfv-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Detect docs-only changes
Expand Down Expand Up @@ -49,11 +49,11 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- if: steps.scope.outputs.code == 'true'
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
- if: steps.scope.outputs.code == 'true'
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- name: Test companion publication guards
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- if: steps.scope.outputs.code == 'true'
run: cargo dfv parity --workspace --json
- if: always() && steps.scope.outputs.code == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dfv-reports
path: target/dfv/runs/
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/dfv-models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
PYTHONUTF8: "1"
DATAFOG_REQUIRE_GLINER2: "1"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -49,7 +49,7 @@ jobs:
with:
save-if: ${{ github.ref == 'refs/heads/main' }}

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"

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

# GLiNER2 model caching and provisioning
- name: Restore cached GLiNER2 assets
uses: actions/cache/restore@v4
uses: actions/cache/restore@v6
id: gliner2-cache
with:
path: ${{ runner.temp }}/gliner2-download
Expand All @@ -72,7 +72,7 @@ jobs:
--revision 1cb4166094dc58fa8d836429f060d6c95f62b495 --local-dir "$RUNNER_TEMP/gliner2-download"

- name: Cache GLiNER2 assets
uses: actions/cache/save@v4
uses: actions/cache/save@v6
if: steps.gliner2-cache.outputs.cache-hit != 'true'
with:
path: ${{ runner.temp }}/gliner2-download
Expand All @@ -86,7 +86,7 @@ jobs:

# Issue #87 reproduces on gliner2-base-v1 with a four-label described schema.
- name: Restore cached GLiNER2 base-v1 assets
uses: actions/cache/restore@v4
uses: actions/cache/restore@v6
id: gliner2-base-cache
with:
path: ${{ runner.temp }}/gliner2-base-v1-download
Expand All @@ -102,7 +102,7 @@ jobs:
--local-dir "$RUNNER_TEMP/gliner2-base-v1-download"

- name: Cache GLiNER2 base-v1 assets
uses: actions/cache/save@v4
uses: actions/cache/save@v6
if: steps.gliner2-base-cache.outputs.cache-hit != 'true'
with:
path: ${{ runner.temp }}/gliner2-base-v1-download
Expand All @@ -118,7 +118,7 @@ jobs:

# DataFog model caching and provisioning
- name: Restore cached DataFog assets
uses: actions/cache/restore@v4
uses: actions/cache/restore@v6
id: datafog-cache
with:
path: ${{ runner.temp }}/datafog-download
Expand All @@ -132,7 +132,7 @@ jobs:
--revision 7cadd41e21f59b2a149e31378d073cf6ca057531 --local-dir "$RUNNER_TEMP/datafog-download"

- name: Cache DataFog assets
uses: actions/cache/save@v4
uses: actions/cache/save@v6
if: steps.datafog-cache.outputs.cache-hit != 'true'
with:
path: ${{ runner.temp }}/datafog-download
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:

- name: Set up Node for full parity
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group'
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: .nvmrc

Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
run: cargo dfv parity --live --full --json

- if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dfv-model-reports
path: target/dfv/runs/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fogvault-native-languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1
with:
node-version-file: .nvmrc
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: core-fogvault-node-binary-*
path: target/native-assembly-inputs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
# Docs-only changes skip the remaining steps but still report success, so
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
matrix:
target: [workspace_snapshot, utf16_range, email_context]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@nightly
Expand All @@ -83,7 +83,7 @@ jobs:
run: cargo dfv fuzz run ${{ matrix.target }} -- -max_total_time=60
- name: Upload crash artifacts
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: fuzz-artifacts-${{ matrix.target }}
path: crates/core/fuzz/artifacts/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/merge-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.12'
- run: python scripts/test-merge-gate.py
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
timeout-minutes: 5
needs: ["policy", "advisory", "application-vaults", "browser-model", "browser-v1-1", "credential-stores", "devcontainer", "dfv-check", "dfv-models", "fogvault-integration", "fogvault-native-languages", "fuzz", "model-datafog", "native-python-host", "node-binding", "python-binding", "rust-quality", "wasm-binding", "workspace-contract", "workspace-integration"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Require every selected check to succeed
env:
GATE_RESULTS: ${{ toJSON(needs) }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/model-candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- id: rust-version
run: echo "version=$(./scripts/pin.sh rust)" >> "$GITHUB_OUTPUT"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.rust-version.outputs.version }}
components: rustfmt, clippy
targets: ${{ matrix.target }}
- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- run: python -m pip install 'maturin>=1.9.4,<2.0'
Expand All @@ -71,11 +71,11 @@ jobs:
for source in wheels + binaries:
shutil.copy2(source, Path("candidate") / source.name)
PYTHON
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: native-candidates-${{ matrix.platform }}
path: candidate/
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: matrix.platform == 'linux-x86_64'
with:
name: candidate-node-wrapper
Expand All @@ -89,7 +89,7 @@ jobs:
cargo package -p datafog-core --locked --allow-dirty
core_version="$(python -c 'import pathlib,tomllib; print(tomllib.loads(pathlib.Path("crates/core/Cargo.toml").read_text(encoding="utf-8"))["package"]["version"])')"
cp "target/package/datafog-core-${core_version}.crate" common/
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: matrix.platform == 'linux-x86_64'
with:
name: common-model-candidates
Expand All @@ -99,15 +99,15 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: native-candidates-*
path: candidates
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: candidate-node-wrapper
path: bindings/node
Expand All @@ -123,7 +123,7 @@ jobs:
(cd "$package" && npm pack --ignore-scripts --pack-destination "$GITHUB_WORKSPACE/node-candidates")
done
npm pack --ignore-scripts --pack-destination ../../node-candidates
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: node-model-candidates
path: node-candidates/
Loading
Loading