3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2025-01-31 07:01:20 +01:00

Perform artifact attestation

This commit is contained in:
David Tolnay 2025-01-26 12:48:26 -08:00
parent 6bb039a9a5
commit ef622f5ab6
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
25 changed files with 53 additions and 0 deletions

View file

@ -13,5 +13,7 @@ jobs:
crate: bindgen-cli
bin: bindgen
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: buckle
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -38,7 +38,9 @@ jobs:
name: ${{inputs.crate}}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
attestations: write
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
@ -63,6 +65,9 @@ jobs:
- run: gpg --output ${{inputs.bin || inputs.crate}}.sig --detach-sig ${{steps.which.outputs.which}}
- run: gpg --output signing-key.gpg --dearmor signing-key.asc
- run: gpg --no-default-keyring --keyring ./signing-key.gpg --verify ${{inputs.bin || inputs.crate}}.sig ${{steps.which.outputs.which}}
- uses: actions/attest-build-provenance@v2
with:
subject-path: ${{steps.which.outputs.which}}
- run: git tag -d ${{inputs.crate}} || true
- run: git tag ${{inputs.crate}}
- run: git push origin tag ${{inputs.crate}} --force

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-afl
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-bloat
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-docs-rs
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-expand
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-fuzz
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-llvm-lines
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-outdated
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-tally
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-unlock
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cargo-web
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: cbindgen
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -13,5 +13,7 @@ jobs:
crate: cxxbridge-cmd
bin: cxxbridge
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: dircnt
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: dotslash
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: faketty
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -13,5 +13,7 @@ jobs:
crate: honggfuzz
bin: cargo-hfuzz
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: mdbook
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -13,5 +13,7 @@ jobs:
crate: reindeer
git: facebookincubator/reindeer
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -14,5 +14,7 @@ jobs:
git: dtolnay-contrib/rustup-toolchain-install-master
ref: nodefault
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: sha1dir
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -12,5 +12,7 @@ jobs:
with:
crate: star-history
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit

View file

@ -14,5 +14,7 @@ jobs:
bin: taplo
locked: true
permissions:
id-token: write
contents: write
attestations: write
secrets: inherit