Add files via upload
This commit is contained in:
parent
8e0b0267fa
commit
d09f40887c
15
.github/workflows/cargo-audit.yml
vendored
Normal file
15
.github/workflows/cargo-audit.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: Security audit
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '**/Cargo.toml'
|
||||||
|
- '**/Cargo.lock'
|
||||||
|
jobs:
|
||||||
|
security_audit:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions-rs/audit-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
38
.github/workflows/rust.yml
vendored
38
.github/workflows/rust.yml
vendored
@ -1,24 +1,30 @@
|
|||||||
name: Rust
|
name: Rust
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1
|
||||||
- name: Build
|
|
||||||
run: cargo build --verbose
|
- name: Install dependencies
|
||||||
- name: Run tests
|
run: rustup component add rustfmt
|
||||||
run: cargo test --verbose
|
|
||||||
- name: Document
|
- name: Format
|
||||||
run: cargo doc --verbose --no-deps
|
run: cargo fmt -- --check
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --all-features --verbose
|
||||||
|
|
||||||
|
- name: Docs
|
||||||
|
run: cargo doc --no-deps
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user