Skip to content
Draft
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/act-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@19a7f5d1b8d5c1b2236c39720a5744492b3fc129
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
- name: Install mold linker
if: runner.os == 'Linux'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@19a7f5d1b8d5c1b2236c39720a5744492b3fc129
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
- name: Install mold linker
if: runner.os == 'Linux'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
# The token is not used for any external cloud auth.
id-token: write
if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'dependabot[bot]' }}
uses: leynos/shared-actions/.github/workflows/dependabot-automerge.yml@19a7f5d1b8d5c1b2236c39720a5744492b3fc129
uses: leynos/shared-actions/.github/workflows/dependabot-automerge.yml@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
pull-request-number: ${{ inputs.pull-request-number || github.event.pull_request.number }}
2 changes: 1 addition & 1 deletion template/.github/workflows/act-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@18bed1ca49a6de3d8882bd72635a32ae3f023d57
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
- name: Install act
run: |
curl -fsSL "https://github.com/nektos/act/releases/download/${ACT_VERSION}/act_Linux_x86_64.tar.gz" |
Expand Down
2 changes: 1 addition & 1 deletion template/.github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@18bed1ca49a6de3d8882bd72635a32ae3f023d57
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
- name: Install cargo-audit
env:
RUSTFLAGS: ""
Expand Down
6 changes: 3 additions & 3 deletions template/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@47b337e4f230b591891656534d4ffad868131740
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
rustflags: {% endraw %}{% if enable_polonius %}-Zpolonius=next{% else %}-D warnings{% endif %}{% raw %}
- name: Log Rust compiler configuration
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
echo "Coverage CFLAGS: -fuse-ld=lld"
echo "Coverage LDFLAGS: -fuse-ld=lld"
- name: Test and Measure Coverage
uses: leynos/shared-actions/.github/actions/generate-coverage@47b337e4f230b591891656534d4ffad868131740
uses: leynos/shared-actions/.github/actions/generate-coverage@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: clang
RUSTFLAGS: {% endraw %}{% if enable_polonius %}-Zpolonius=next{% else %}-D warnings{% endif %}{% raw %} -C link-arg=-fuse-ld=lld
Expand All @@ -128,7 +128,7 @@ jobs:
# env:
# CS_ACCESS_TOKEN: ${{ secrets.CS_ACCESS_TOKEN }}
# if: env.CS_ACCESS_TOKEN != ''
# uses: leynos/shared-actions/.github/actions/upload-codescene-coverage@47b337e4f230b591891656534d4ffad868131740
# uses: leynos/shared-actions/.github/actions/upload-codescene-coverage@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
# with:
# format: lcov
# mode: check
Expand Down
6 changes: 3 additions & 3 deletions template/.github/workflows/coverage-main.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- name: Setup Rust
uses: leynos/shared-actions/.github/actions/setup-rust@47b337e4f230b591891656534d4ffad868131740
uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
rustflags: {% endraw %}{% if enable_polonius %}-Zpolonius=next{% else %}-D warnings{% endif %}{% raw %}
- name: Log Rust compiler configuration
Expand All @@ -58,7 +58,7 @@ jobs:
echo "Coverage CFLAGS: -fuse-ld=lld"
echo "Coverage LDFLAGS: -fuse-ld=lld"
- name: Test and Measure Coverage
uses: leynos/shared-actions/.github/actions/generate-coverage@47b337e4f230b591891656534d4ffad868131740
uses: leynos/shared-actions/.github/actions/generate-coverage@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: clang
RUSTFLAGS: {% endraw %}{% if enable_polonius %}-Zpolonius=next{% else %}-D warnings{% endif %}{% raw %} -C link-arg=-fuse-ld=lld
Expand All @@ -72,7 +72,7 @@ jobs:
env:
CS_ACCESS_TOKEN: ${{ secrets.CS_ACCESS_TOKEN }}
if: env.CS_ACCESS_TOKEN != ''
uses: leynos/shared-actions/.github/actions/upload-codescene-coverage@47b337e4f230b591891656534d4ffad868131740
uses: leynos/shared-actions/.github/actions/upload-codescene-coverage@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
format: lcov
access-token: ${{ env.CS_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion template/.github/workflows/mutation-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
permissions:
contents: read
id-token: write # OIDC workflow-source resolution
uses: leynos/shared-actions/.github/workflows/mutation-cargo.yml@0c8bd605f8966a004decb0b54f717a745f51bc57
uses: leynos/shared-actions/.github/workflows/mutation-cargo.yml@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
# Match the CI baseline (`make test` runs --all-targets
# --all-features) so the test command exercised against mutants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@900f2210b1d28bbbd0bd22d17926b9e224e8f231
with:
persist-credentials: false
- uses: leynos/shared-actions/.github/actions/setup-rust@47b337e4f230b591891656534d4ffad868131740
- uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
with:
toolchain: {% endraw %}{% if enable_polonius %}nightly-{{ rust_nightly_date }}{% else %}stable{% endif %}{% raw %}
rustflags: {% endraw %}{% if enable_polonius %}-Zpolonius=next{% else %}-D warnings{% endif %}{% raw %}
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/tooling_contracts/polonius.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)

POLONIUS_FLAG = "-Zpolonius=next"
RUSTFLAGS_PASSTHROUGH_REVISION = "47b337e4f230b591891656534d4ffad868131740"
RUSTFLAGS_PASSTHROUGH_REVISION = "80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8"
_SETUP_RUST_USES_RE = re.compile(
r"^leynos/shared-actions/\.github/actions/setup-rust@[0-9a-f]{40}$"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_template/test_tooling_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_polonius_contract_rejects_stale_shared_action_revision() -> None:

def test_polonius_contract_allows_independent_shared_action_revision() -> None:
"""Allow unrelated shared actions to advance independently."""
workflow = """uses: leynos/shared-actions/.github/actions/setup-rust@47b337e4f230b591891656534d4ffad868131740
workflow = """uses: leynos/shared-actions/.github/actions/setup-rust@80c8e8b4b9e8ab223d18d2360aa1feba6c7335e8
uses: leynos/shared-actions/.github/actions/generate-coverage@0000000000000000000000000000000000000000
"""

Expand Down
Loading