Bump toml from 0.7.8 to 0.8.8 #125
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: 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 |