Skip to content

Bump actions/upload-artifact from 3.1.3 to 4.4.1 #151

Bump actions/upload-artifact from 3.1.3 to 4.4.1

Bump actions/upload-artifact from 3.1.3 to 4.4.1 #151

Workflow file for this run

name: target-dir
on: [push, pull_request]
jobs:
target-dir:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test custom target-dir on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: rustup toolchain install stable --profile minimal --no-self-update
# the `workspaces` option has the format `$workspace -> $target-dir`
# and the `$target-dir` is relative to the `$workspace`.
- uses: ./
with:
workspaces: tests -> ../custom-target-dir
- run: cargo test --manifest-path tests/Cargo.toml --target-dir custom-target-dir