Skip to content

feat(plc4rs): Add transport layer with TCP/UDP implementations #6

feat(plc4rs): Add transport layer with TCP/UDP implementations

feat(plc4rs): Add transport layer with TCP/UDP implementations #6

Workflow file for this run

name: Industrial CI
on: [push, pull_request]
jobs:
industrial_validation:
name: Protocol Implementation Validation
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, 1.75.0]
platform: [x86_64, aarch64]
steps:
- uses: actions/checkout@v4
- name: Rust Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.platform }}-unknown-linux-gnu
override: true
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Security Audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Protocol Tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --target ${{ matrix.platform }}-unknown-linux-gnu
industrial_linting:
name: Industrial-Grade Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features -- -D warnings
- uses: actions-rs/format-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all -- --check