29 lines
519 B
YAML
29 lines
519 B
YAML
name: Rust check
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
RUSTFLAGS: -Dwarnings
|
|
FEATURES: "logging,tls12"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: sudo apt-get install -y cmake clang
|
|
- name: Check fmt
|
|
run: make fmt
|
|
- name: Lint
|
|
run: make lint
|
|
- name: Tests usual
|
|
run: make test
|
|
- name: Build usual
|
|
run: make build
|