feat: Add binary attestation #1419
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run | |
on: | |
push: | |
branches: [main] | |
tags: | |
- 'v*' | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
# TODO removeme | |
permissions: | |
id-token: write | |
attestations: write | |
name: unit-tests | |
strategy: | |
matrix: | |
platform: [macos-latest, ubuntu-22.04-github-hosted-16core] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install cargo-nextest | |
run: cargo install cargo-nextest | |
- name: Run tests | |
run: cargo nextest run | |
# TODO removeme | |
- name: Binaries attestation | |
uses: actions/attest-build-provenance@v2 | |
with: | |
subject-path: target/debug/anvil-zksync |