27 lines
561 B
YAML
27 lines
561 B
YAML
name: cat-rs CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Set up cat-rs
|
|
uses: actions/checkout@v2
|
|
- name: Install cargo-audit
|
|
run: cargo install cargo-audit
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: test
|
|
run: python3 gnu_cat_tests/test.py -c /bin/cat -b target/debug/cat-rs
|
|
- name: Clippy
|
|
run: cargo clippy --verbose -- -D warnings
|
|
- name: Audit
|
|
run: cargo audit |