clippy #16
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: Pre-Release | |
# permissions: | |
# contents: write | |
on: | |
push: | |
branches: | |
- main | |
- chore/dist | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
package-crate: | |
runs-on: ubuntu-latest | |
environment: cargo-crate-publish | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Login to crates.io | |
uses: actions-rs/cargo@v1 | |
with: | |
toolchain: nightly | |
command: login | |
args: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
- run: sudo apt-get -y update | |
- run: sudo apt-get install -y libzmq3-dev | |
- run: sudo apt-get -y install libasound2-dev | |
- run: sudo apt-get -y install liblttng-ust-dev | |
- run: sudo apt-get -y install libsoapysdr-dev | |
- run: cargo publish --dry-run | |
- run: cargo package --list |