Skip to content

Bump lock_api from 0.4.10 to 0.4.11 #104

Bump lock_api from 0.4.10 to 0.4.11

Bump lock_api from 0.4.10 to 0.4.11 #104

Workflow file for this run

name: Test
on:
- push
- pull_request
concurrency:
group: compile-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
include:
- args: ""
- args: "--no-default-features --features=pcap"
- args: "--no-default-features --features=modbus"
runs-on: ubuntu-22.04
steps:
- name: Install pcap
run: sudo apt-get install libpcap-dev
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy,rustfmt
- name: Check rustfmt
uses: actions-rust-lang/rustfmt@v1
- name: Check clippy
run: cargo clippy
- name: Compile
run: cargo build ${{ matrix.args }}
- name: Test
run: cargo test