Skip to content

add runner.arch cache key in bats-action #16

@akhilerm

Description

@akhilerm

Currently the bats-action caches the binary with the key {{ runner.os }}-bats-${{ inputs.bats-version }}. This can cause issues with cacheing in CI were multiplatform setup is used. Ref: https://github.com/opencontainers/runc/actions/runs/11013141253/job/30588072588?pr=4405#step:17:23.

The cache key should also have an entry for {{ runner.arch }} along with OS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions