gate: first-party actions at the gate-setup repin (runner cargo home for rust-cache) (#322)

This commit is contained in:
aiongg authored and GitHub committed 2026-11-22 01:04:28 -05:00
1 parent ec2b41fc48
commit ced652cd37
2 files changed
+13 -13

No files matched your search

+12 -12
View File
@@ -257,7 +257,7 @@ jobs:
fetch-depth: 2
- id: select
if: inputs.select-os != '' && inputs.select-os != '[]'
uses: storytold/craft-common-actions/actions/select-platforms@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/select-platforms@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
os: ${{ inputs.os }}
select-os: ${{ inputs.select-os }}
@@ -370,7 +370,7 @@ jobs:
# Default-branch writes remain the default. Maintainers can explicitly opt manual branch runs
# into branch-scoped writes; pull-request runs never save a cache.
- name: Setup
uses: storytold/craft-common-actions/actions/gate-setup@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-setup@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
craft-fonts-ref: ${{ inputs.craft-fonts-ref }}
require-craft-fonts: ${{ inputs.require-craft-fonts }}
@@ -418,7 +418,7 @@ jobs:
} >> "$GITHUB_ENV"
- name: Build the test archive
uses: storytold/craft-common-actions/actions/gate-run@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-run@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
command: ${{ inputs.archive-command }}
timeout-minutes: ${{ inputs.gate-timeout-minutes }}
@@ -426,7 +426,7 @@ jobs:
# The marker is saved with the cache entry in rust-cache's post step.
- name: Record the cache commit
if: inputs.cache-workspace-crates
uses: storytold/craft-common-actions/actions/restore-mtimes@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/restore-mtimes@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
mode: record
@@ -561,7 +561,7 @@ jobs:
- name: After the archive
if: inputs.after-archive-command != ''
uses: storytold/craft-common-actions/actions/gate-run@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-run@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
command: ${{ inputs.after-archive-command }}
timeout-minutes: ${{ inputs.gate-timeout-minutes }}
@@ -573,7 +573,7 @@ jobs:
- name: Trim the cache entry to this build
if: env.CRAFT_CACHE_UNITS != ''
continue-on-error: true
uses: storytold/craft-common-actions/actions/cache-trim@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/cache-trim@ec2b41fc48ec147d5b359967ee0c27135132612e
# The `result` job reads it: the build job's result covers every runner.
- name: Record the build's result
@@ -617,7 +617,7 @@ jobs:
- *checkout
- name: Setup
uses: storytold/craft-common-actions/actions/gate-setup@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-setup@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
craft-fonts-ref: ${{ inputs.craft-fonts-ref }}
require-craft-fonts: ${{ inputs.require-craft-fonts }}
@@ -640,7 +640,7 @@ jobs:
caller-setup: "false"
- name: Gate
uses: storytold/craft-common-actions/actions/gate-run@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-run@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
command: ${{ inputs.lint-command }}
timeout-minutes: ${{ inputs.gate-timeout-minutes }}
@@ -682,7 +682,7 @@ jobs:
# there is one), so the shards do not race each other for it. Shards that run the build
# job's archive build nothing and restore no cache.
- name: Setup
uses: storytold/craft-common-actions/actions/gate-setup@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-setup@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
craft-fonts-ref: ${{ inputs.craft-fonts-ref }}
require-craft-fonts: ${{ inputs.require-craft-fonts }}
@@ -738,7 +738,7 @@ jobs:
} >> "$GITHUB_ENV"
- name: Gate
uses: storytold/craft-common-actions/actions/gate-run@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/gate-run@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
command: >-
${{ matrix.part == 'warm' && inputs.warm-command
@@ -749,7 +749,7 @@ jobs:
# The marker is saved with the cache entry in rust-cache's post step, where the leg saves.
- name: Record the cache commit
if: inputs.cache-workspace-crates && !(matrix.part == 'shard' && inputs.archive-command != '')
uses: storytold/craft-common-actions/actions/restore-mtimes@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/restore-mtimes@ec2b41fc48ec147d5b359967ee0c27135132612e
with:
mode: record
@@ -775,7 +775,7 @@ jobs:
- name: Trim the cache entry to this build
if: env.CRAFT_CACHE_UNITS != ''
continue-on-error: true
uses: storytold/craft-common-actions/actions/cache-trim@99ded52ec9e57fce5c38de0b02f37a4279b4a38f
uses: storytold/craft-common-actions/actions/cache-trim@ec2b41fc48ec147d5b359967ee0c27135132612e
# The `result` job reads these, one per shard leg: a matrix job's result covers every runner,
# so it cannot say which runner's shards passed. Each leg's marker holds that leg's latest