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
|
- name: Check formatting
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
# TEMPORARILY DISABLED - re-enable after build jobs are stable
|
clippy:
|
||||||
# clippy:
|
name: Clippy Lints
|
||||||
# name: Clippy Lints
|
runs-on: linux
|
||||||
# runs-on: linux
|
container: node:18
|
||||||
# container: node:18
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v4
|
||||||
# - uses: actions/checkout@v2
|
with:
|
||||||
# with:
|
fetch-depth: 0
|
||||||
# fetch-depth: 0
|
- name: Install system dependencies
|
||||||
# - name: Install system dependencies
|
run: |
|
||||||
# run: |
|
apt-get update
|
||||||
# apt-get update
|
apt-get install -y libsystemd-dev pkg-config
|
||||||
# apt-get install -y libsystemd-dev pkg-config
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
# - uses: dtolnay/rust-toolchain@stable
|
with:
|
||||||
# with:
|
components: clippy
|
||||||
# components: clippy
|
- name: Cache cargo
|
||||||
# - name: Cache cargo
|
uses: Swatinem/rust-cache@v2
|
||||||
# uses: Swatinem/rust-cache@v2
|
- name: Run clippy
|
||||||
# - name: Run clippy
|
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
# run: cargo clippy --all-targets --all-features -- -D warnings
|
|
||||||
#
|
test:
|
||||||
# test:
|
name: Unit Tests
|
||||||
# name: Unit Tests
|
runs-on: linux
|
||||||
# runs-on: linux
|
container: node:18
|
||||||
# container: node:18
|
steps:
|
||||||
# steps:
|
- uses: actions/checkout@v4
|
||||||
# - uses: actions/checkout@v2
|
with:
|
||||||
# with:
|
fetch-depth: 0
|
||||||
# fetch-depth: 0
|
- name: Install system dependencies
|
||||||
# - name: Install system dependencies
|
run: |
|
||||||
# run: |
|
apt-get update
|
||||||
# apt-get update
|
apt-get install -y libsystemd-dev pkg-config
|
||||||
# apt-get install -y libsystemd-dev pkg-config
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
# - uses: dtolnay/rust-toolchain@stable
|
- name: Cache cargo
|
||||||
# - name: Cache cargo
|
uses: Swatinem/rust-cache@v2
|
||||||
# uses: Swatinem/rust-cache@v2
|
- name: Run tests
|
||||||
# - name: Run tests
|
run: cargo test --all-features
|
||||||
# run: cargo test --all-features
|
|
||||||
# - name: Upload coverage
|
audit:
|
||||||
# uses: codecov/codecov-action@v4
|
name: Security Audit
|
||||||
# if: always()
|
runs-on: linux
|
||||||
#
|
container: node:18
|
||||||
# audit:
|
steps:
|
||||||
# name: Security Audit
|
- uses: actions/checkout@v4
|
||||||
# runs-on: linux
|
with:
|
||||||
# container: node:18
|
fetch-depth: 0
|
||||||
# steps:
|
- name: Install system dependencies
|
||||||
# - uses: actions/checkout@v2
|
run: |
|
||||||
# with:
|
apt-get update
|
||||||
# fetch-depth: 0
|
apt-get install -y libsystemd-dev pkg-config
|
||||||
# - name: Install system dependencies
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
# run: |
|
- name: Run cargo-audit
|
||||||
# apt-get update
|
run: |
|
||||||
# apt-get install -y libsystemd-dev pkg-config
|
cargo install cargo-audit
|
||||||
# - uses: dtolnay/rust-toolchain@stable
|
cargo audit
|
||||||
# - name: Run cargo-audit
|
|
||||||
# run: |
|
|
||||||
# cargo install cargo-audit
|
|
||||||
# cargo audit
|
|
||||||
# Debian/Ubuntu Package Build
|
|
||||||
build-deb:
|
build-deb:
|
||||||
name: Build Debian Package
|
name: Build Debian Package
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
|
|||||||
Reference in New Issue
Block a user