lint: fixed lints #44
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: Release PR | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: [main] | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
release-pr: | |
name: Release PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Required to trigger post-release workflows | |
token: ${{ secrets.RELEASE_PLZ_TOKEN }} | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: | | |
sudo apt update | |
sudo apt install -y libudev-dev libasound2-dev | |
- name: Run release | |
uses: MarcoIeni/release-plz-action@v0.5 | |
env: | |
# Required to trigger post-release workflows | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |