chore: Prepare for v1.0.0 release
This commit is contained in:
116
.github/workflows/ci.yml
vendored
116
.github/workflows/ci.yml
vendored
@ -26,66 +26,62 @@ jobs:
|
||||
- name: Check formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
# TEMPORARILY DISABLED - re-enable after build jobs are stable
|
||||
# clippy:
|
||||
# name: Clippy Lints
|
||||
# runs-on: linux
|
||||
# container: node:18
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# - name: Install system dependencies
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y libsystemd-dev pkg-config
|
||||
# - uses: dtolnay/rust-toolchain@stable
|
||||
# with:
|
||||
# components: clippy
|
||||
# - name: Cache cargo
|
||||
# uses: Swatinem/rust-cache@v2
|
||||
# - name: Run clippy
|
||||
# run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
#
|
||||
# test:
|
||||
# name: Unit Tests
|
||||
# runs-on: linux
|
||||
# container: node:18
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# - name: Install system dependencies
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y libsystemd-dev pkg-config
|
||||
# - uses: dtolnay/rust-toolchain@stable
|
||||
# - name: Cache cargo
|
||||
# uses: Swatinem/rust-cache@v2
|
||||
# - name: Run tests
|
||||
# run: cargo test --all-features
|
||||
# - name: Upload coverage
|
||||
# uses: codecov/codecov-action@v4
|
||||
# if: always()
|
||||
#
|
||||
# audit:
|
||||
# name: Security Audit
|
||||
# runs-on: linux
|
||||
# container: node:18
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# - name: Install system dependencies
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y libsystemd-dev pkg-config
|
||||
# - uses: dtolnay/rust-toolchain@stable
|
||||
# - name: Run cargo-audit
|
||||
# run: |
|
||||
# cargo install cargo-audit
|
||||
# cargo audit
|
||||
# Debian/Ubuntu Package Build
|
||||
clippy:
|
||||
name: Clippy Lints
|
||||
runs-on: linux
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y libsystemd-dev pkg-config
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
- name: Cache cargo
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
test:
|
||||
name: Unit Tests
|
||||
runs-on: linux
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y libsystemd-dev pkg-config
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Cache cargo
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run tests
|
||||
run: cargo test --all-features
|
||||
|
||||
audit:
|
||||
name: Security Audit
|
||||
runs-on: linux
|
||||
container: node:18
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y libsystemd-dev pkg-config
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run cargo-audit
|
||||
run: |
|
||||
cargo install cargo-audit
|
||||
cargo audit
|
||||
|
||||
build-deb:
|
||||
name: Build Debian Package
|
||||
runs-on: linux
|
||||
|
||||
Reference in New Issue
Block a user