m3u8-rs/.github/workflows/rust.yml
2021-10-19 19:48:26 +02:00

27 lines
377 B
YAML

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run fmt
run: cargo fmt --all -- --check
- name: Run tests
run: cargo test --verbose