build: add release-plz action

This commit is contained in:
Chris Hennick 2024-04-22 18:51:25 -07:00
parent 9fc31e6a88
commit 327a86bd6c
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -264,4 +264,31 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: fuzz_write_no_features_corpus name: fuzz_write_no_features_corpus
path: fuzz/corpus/seed/* path: fuzz/corpus/seed/*
release-plz:
name: Release-plz
needs:
- build_and_test
- clippy
- check_fmt_and_docs
- fuzz_read
- fuzz_read_with_no_features
- fuzz_write
- fuzz_write_with_no_features
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}