17 lines
525 B
YAML
17 lines
525 B
YAML
name: Build library & run tests
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: nix
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Run clippy (tcp feature)
|
|
run: nix develop . -c cargo clippy --no-default-features --features tcp
|
|
- name: Run clippy (unix feature)
|
|
run: nix develop . -c cargo clippy --no-default-features --features unix
|
|
- name: Build & test (tcp feature)
|
|
run: nix build .#tcp
|
|
- name: Build & test (unix feature)
|
|
run: nix build .#unix |