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
2 changes: 1 addition & 1 deletion .github/actions/export-metal-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
# Keep symlinks and modes intact; artifacts flatten them.
tar -C "$export_dir" -cf "$RUNNER_TEMP/metal-toolchain.tar" .
- name: Upload the Metal Toolchain
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: metal-toolchain
path: ${{ runner.temp }}/metal-toolchain.tar
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/import-metal-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
# The artifact lives one day. A later "Re-run failed jobs" finds it gone: re-run the
# metal-toolchain job (Export the Metal Toolchain) so its dependents re-run with it.
- name: Download the exported Metal Toolchain
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: metal-toolchain
path: ${{ runner.temp }}/metal-toolchain-artifact
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-nix/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Set up pinned Nix
description: >-
Install Determinate Nix 3.23.3 (pinned by commit) and verify the runtime,
Install Determinate Nix 3.24.2 (pinned by commit) and verify the runtime,
exactly as the inline copies in the other workflows do.
runs:
using: composite
steps:
- name: Install pinned Nix environment
uses: DeterminateSystems/determinate-nix-action@96c5ee93a9dddf2830d31e1da6ec719077336c28 # v3.23.3
uses: DeterminateSystems/determinate-nix-action@16f94ba7aae399b9f9077c254b6719ec6de7e3e3 # v3.24.2
with:
source-tag: v3.23.3
source-tag: v3.24.2
github-token: ""
# HTTP/2 stream resets from cache.nixos.org make Nix resume past
# the end of a NAR (HTTP 416); HTTP/1.1 avoids the resets.
Expand Down
72 changes: 36 additions & 36 deletions .github/workflows/agent-desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
outputs:
agent: ${{ steps.classify.outputs.selected }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand All @@ -74,7 +74,7 @@ jobs:
contents: read
timeout-minutes: 15
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand All @@ -98,14 +98,14 @@ jobs:
env:
MAPLE_RELEASE_PROFILE: ${{ matrix.variant }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Install pinned Nix
uses: DeterminateSystems/determinate-nix-action@96c5ee93a9dddf2830d31e1da6ec719077336c28 # v3.23.3
uses: DeterminateSystems/determinate-nix-action@16f94ba7aae399b9f9077c254b6719ec6de7e3e3 # v3.24.2
with:
source-tag: v3.23.3
source-tag: v3.24.2
github-token: ""
# HTTP/2 stream resets from cache.nixos.org make Nix resume past
# the end of a NAR (HTTP 416); HTTP/1.1 avoids the resets.
Expand All @@ -119,7 +119,7 @@ jobs:
run: python3 ../../scripts/ci/cargo_graph_key.py Cargo.lock flake.lock ../../scripts/ci/apple-toolchain.json >> "$GITHUB_OUTPUT"
- name: Restore the exact-key Agent release cache
id: cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# No restore-keys: a master build never starts from another dependency
# graph's artifacts. The hash covers flake.lock, every third-party
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Build optimized Agent with embedded profile
run: nix develop --no-update-lock-file . -c ./scripts/build-release.sh "$MAPLE_RELEASE_PROFILE"
- name: Upload prebuilt Agent binary
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: prebuilt-maple-agent-${{ matrix.variant }}-macos-aarch64-${{ github.run_id }}
overwrite: true
Expand All @@ -145,7 +145,7 @@ jobs:

- name: Save the Agent release cache (master pushes only)
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: ${{ steps.cache.outputs.cache-primary-key }}
path: |
Expand All @@ -172,14 +172,14 @@ jobs:
env:
MAPLE_RELEASE_PROFILE: ${{ matrix.variant }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Install pinned Nix
uses: DeterminateSystems/determinate-nix-action@96c5ee93a9dddf2830d31e1da6ec719077336c28 # v3.23.3
uses: DeterminateSystems/determinate-nix-action@16f94ba7aae399b9f9077c254b6719ec6de7e3e3 # v3.24.2
with:
source-tag: v3.23.3
source-tag: v3.24.2
github-token: ""
# HTTP/2 stream resets from cache.nixos.org make Nix resume past
# the end of a NAR (HTTP 416); HTTP/1.1 avoids the resets.
Expand All @@ -188,7 +188,7 @@ jobs:
working-directory: .
run: python3 scripts/ci/select-xcode.py
- name: Download prebuilt Agent binary
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: prebuilt-maple-agent-${{ matrix.variant }}-macos-aarch64-${{ github.run_id }}
path: apps/maple-agent/target/release
Expand All @@ -203,11 +203,11 @@ jobs:
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: Attest final macOS packages
uses: actions/attest@281a49d4cbb0a72c9575a50d18f6deb515a11deb
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-path: apps/maple-agent/dist/${{ matrix.variant }}/*
- name: Upload Agent packages
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: maple-agent-${{ matrix.variant }}-macos-aarch64-${{ github.run_id }}
overwrite: true
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
# redistributable.
RUSTFLAGS: -D warnings -C target-feature=+crt-static
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand All @@ -248,7 +248,7 @@ jobs:
run: python3 ../../scripts/ci/cargo_graph_key.py Cargo.lock flake.lock >> "$GITHUB_OUTPUT"
- name: Restore the exact-key Agent release cache
id: cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# No restore-keys: a master build never starts from another dependency
# graph's artifacts. The hash covers flake.lock and every third-party
Expand All @@ -264,7 +264,7 @@ jobs:
- name: Build Windows release binary without signing credentials
run: ./scripts/build-release.sh "$MAPLE_RELEASE_PROFILE"
- name: Upload prebuilt Windows binary
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: prebuilt-maple-agent-${{ matrix.variant }}-windows-x86_64-${{ github.run_id }}
overwrite: true
Expand All @@ -274,7 +274,7 @@ jobs:

- name: Save the Agent release cache (master pushes only)
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: ${{ steps.cache.outputs.cache-primary-key }}
path: |
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
MAPLE_WINDOWS_ARCH: aarch64
RUSTFLAGS: -D warnings -C target-feature=+crt-static
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand All @@ -316,7 +316,7 @@ jobs:
run: python3 ../../scripts/ci/cargo_graph_key.py Cargo.lock flake.lock >> "$GITHUB_OUTPUT"
- name: Restore the exact-key Agent release cache
id: cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: ci-v1-agent-arm64-release-${{ steps.graph.outputs.hash }}
path: |
Expand All @@ -327,7 +327,7 @@ jobs:
- name: Build Windows release binary without signing credentials
run: ./scripts/build-release.sh "$MAPLE_RELEASE_PROFILE"
- name: Upload prebuilt Windows binary
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: prebuilt-maple-agent-${{ matrix.variant }}-windows-aarch64-${{ github.run_id }}
overwrite: true
Expand All @@ -336,7 +336,7 @@ jobs:
retention-days: 7
- name: Save the Agent ARM64 release cache
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: ${{ steps.cache.outputs.cache-primary-key }}
path: |
Expand Down Expand Up @@ -366,17 +366,17 @@ jobs:
MAPLE_WINDOWS_ARCH: ${{ matrix.architecture }}
MAPLE_PACKAGE_BUILD_NUMBER: ${{ github.run_number }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Download prebuilt Windows binary
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: prebuilt-maple-agent-${{ matrix.variant }}-windows-${{ matrix.architecture }}-${{ github.run_id }}
path: apps/maple-agent/target/release
- name: Azure login for Artifact Signing
uses: azure/login@2dd0bbf4064d5a1812889dc200bb8eed2597f82a
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand All @@ -391,11 +391,11 @@ jobs:
MAPLE_WINDOWS_ARTIFACT_SIGNING_ACCOUNT_NAME: ${{ secrets.AZURE_ARTIFACT_SIGNING_ACCOUNT_NAME }}
MAPLE_WINDOWS_ARTIFACT_SIGNING_CERTIFICATE_PROFILE_NAME: ${{ secrets.AZURE_ARTIFACT_SIGNING_CERTIFICATE_PROFILE_NAME }}
- name: Attest final Windows packages
uses: actions/attest@281a49d4cbb0a72c9575a50d18f6deb515a11deb
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-path: apps/maple-agent/dist/${{ matrix.variant }}/*
- name: Upload Agent packages
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: maple-agent-${{ matrix.variant }}-windows-${{ matrix.architecture }}-${{ github.run_id }}
overwrite: true
Expand All @@ -418,14 +418,14 @@ jobs:
env:
MAPLE_RELEASE_PROFILE: ${{ matrix.variant }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Install pinned Nix
uses: DeterminateSystems/determinate-nix-action@96c5ee93a9dddf2830d31e1da6ec719077336c28 # v3.23.3
uses: DeterminateSystems/determinate-nix-action@16f94ba7aae399b9f9077c254b6719ec6de7e3e3 # v3.24.2
with:
source-tag: v3.23.3
source-tag: v3.24.2
github-token: ""
# HTTP/2 stream resets from cache.nixos.org make Nix resume past
# the end of a NAR (HTTP 416); HTTP/1.1 avoids the resets.
Expand All @@ -435,7 +435,7 @@ jobs:
run: python3 ../../scripts/ci/cargo_graph_key.py Cargo.lock flake.lock >> "$GITHUB_OUTPUT"
- name: Restore the exact-key Agent release cache
id: cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# No restore-keys: a master build never starts from another dependency
# graph's artifacts. The hash covers flake.lock and every third-party
Expand All @@ -453,7 +453,7 @@ jobs:
- name: Package Linux installed bundle
run: nix develop --no-update-lock-file . -c ./scripts/package-release.sh "$MAPLE_RELEASE_PROFILE"
- name: Upload Agent packages
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: maple-agent-${{ matrix.variant }}-linux-x86_64-${{ github.run_id }}
overwrite: true
Expand All @@ -463,7 +463,7 @@ jobs:

- name: Save the Agent release cache (master pushes only)
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
key: ${{ steps.cache.outputs.cache-primary-key }}
path: |
Expand All @@ -490,18 +490,18 @@ jobs:
run:
working-directory: .
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.sha }}
persist-credentials: false
- name: Download this run's Prod packages
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: maple-agent-prod-*-${{ github.run_id }}
path: packages
# The Linux build runs on Blacksmith; attest its packages from a GitHub-hosted runner.
- name: Attest final Linux packages
uses: actions/attest@281a49d4cbb0a72c9575a50d18f6deb515a11deb
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-path: packages/maple-agent-prod-linux-x86_64-${{ github.run_id }}/*
- name: Install minisign
Expand Down
Loading
Loading