Skip to content

Stress Test

Stress Test #40

Workflow file for this run

name: Stress Test
on:
workflow_dispatch:
jobs:
build:
name: attest many subjects
runs-on: ubuntu-latest
permissions:
attestations: write
id-token: write
steps:
- uses: hmarr/debug-action@v2
- name: snap
run: |
sudo snap search snappy
- name: Build artifacts
run: |
mkdir subdir
for i in {1..250}
do
echo $i > artifact-${i}.bin
date >> artifact-${i}.bin
done
- name: Attest artifact
uses: actions/attest@main
env:
INPUT_PRIVATE-SIGNING: 'true'
with:
subject-path: |
**/artifact-2??.bin
!**/artifact-2[0-3]?.bin
predicate-type: 'text/plain'
predicate: '{}'