diff --git a/.github/workflows/act-validation.yml b/.github/workflows/act-validation.yml index f36d9e0..bb51fbb 100644 --- a/.github/workflows/act-validation.yml +++ b/.github/workflows/act-validation.yml @@ -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: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8422888..7430944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 3646a12..067f824 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -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 }} diff --git a/template/.github/workflows/act-validation.yml b/template/.github/workflows/act-validation.yml index 807cc58..f1d38ea 100644 --- a/template/.github/workflows/act-validation.yml +++ b/template/.github/workflows/act-validation.yml @@ -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" | diff --git a/template/.github/workflows/audit.yml b/template/.github/workflows/audit.yml index 37bec62..bdc8b04 100644 --- a/template/.github/workflows/audit.yml +++ b/template/.github/workflows/audit.yml @@ -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: "" diff --git a/template/.github/workflows/ci.yml.jinja b/template/.github/workflows/ci.yml.jinja index 0b453fb..dd9e42d 100644 --- a/template/.github/workflows/ci.yml.jinja +++ b/template/.github/workflows/ci.yml.jinja @@ -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 @@ -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 @@ -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 diff --git a/template/.github/workflows/coverage-main.yml.jinja b/template/.github/workflows/coverage-main.yml.jinja index 9ec01a5..3e5f804 100644 --- a/template/.github/workflows/coverage-main.yml.jinja +++ b/template/.github/workflows/coverage-main.yml.jinja @@ -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 @@ -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 @@ -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 }} diff --git a/template/.github/workflows/mutation-testing.yml b/template/.github/workflows/mutation-testing.yml index 733b164..0ba9e76 100644 --- a/template/.github/workflows/mutation-testing.yml +++ b/template/.github/workflows/mutation-testing.yml @@ -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 diff --git a/template/.github/workflows/{% if flavour == 'app' %}release.yml{% endif %}.jinja b/template/.github/workflows/{% if flavour == 'app' %}release.yml{% endif %}.jinja index d44a996..c92202c 100644 --- a/template/.github/workflows/{% if flavour == 'app' %}release.yml{% endif %}.jinja +++ b/template/.github/workflows/{% if flavour == 'app' %}release.yml{% endif %}.jinja @@ -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 %} diff --git a/tests/helpers/tooling_contracts/polonius.py b/tests/helpers/tooling_contracts/polonius.py index 6235ef0..e03c1de 100644 --- a/tests/helpers/tooling_contracts/polonius.py +++ b/tests/helpers/tooling_contracts/polonius.py @@ -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}$" ) diff --git a/tests/test_template/test_tooling_contracts.py b/tests/test_template/test_tooling_contracts.py index b0eb77a..27b7903 100644 --- a/tests/test_template/test_tooling_contracts.py +++ b/tests/test_template/test_tooling_contracts.py @@ -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 """