Skip to content

Set rust-cache-parameters #8

Set rust-cache-parameters

Set rust-cache-parameters #8

Workflow file for this run

name: Tests
on: [push, pull_request]
env:
CRATE_NAME: ubi
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1
jobs:
test-matrix:
name: ${{ matrix.platform.os-name }} with rust ${{ matrix.toolchain }}
runs-on: ${{ matrix.platform.runs-on }}
strategy:
fail-fast: false
matrix:
platform:
- os-name: Linux-x86_64
runs-on: ubuntu-20.04
target: x86_64-unknown-linux-musl
- os-name: Linux-aarch64
runs-on: ubuntu-20.04
target: aarch64-unknown-linux-musl
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- name: Build binary
uses: houseabsolute/actions-rust-cross@cache-testing
with:
command: "build"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked"
rust-cache-parameters: |
{
"cache-all-crates": true
}
strip: false