Skip to content

Batch publish

Batch publish #6

Workflow file for this run

name: Check Pythnet
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustup
run: |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
- name: Install Rust 1.60.0
run: rustup install 1.60.0
- name: Install Rust nightly-2022-04-01
run: rustup install nightly-2022-04-01
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev
- name: Check formatting
run: cargo +nightly-2022-04-01 fmt -- --check
- name: Check clippy
run: cargo +1.60.0 clippy --bins --tests --examples -- --deny warnings
- name: Run tests
run: cargo test