Skip to content

Commit

Permalink
feat: lib implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Mar 2, 2024
1 parent f19486b commit 5b6496b
Show file tree
Hide file tree
Showing 17 changed files with 1,477 additions and 1,425 deletions.
Empty file removed .env.test
Empty file.
41 changes: 19 additions & 22 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: build-test

on:
pull_request:
paths-ignore:
- "*.md"
push:
paths-ignore:
- "*.md"
on: [push, pull_request]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,27 +11,30 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt update && sudo apt install -y libssl-dev
- name: Setup containers
run: docker-compose -f "tests/docker-compose.yml" up -d --build
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install dependencies
run: |
sudo apt update &&
sudo apt install -y libssl-dev pkg-config unzip &&
wget -O /tmp/cargo-make.zip https://github.com/sagiegurari/cargo-make/releases/download/0.37.5/cargo-make-v0.37.5-x86_64-unknown-linux-gnu.zip &&
sudo unzip /tmp/cargo-make.zip -d /tmp &&
sudo mv /tmp/cargo-make-v0.37.5-x86_64-unknown-linux-gnu/cargo-make $HOME/.cargo/bin/cargo-make &&
sudo chmod +x $HOME/.cargo/bin/cargo-make
- name: Build
- name: Run tests (native-tls)
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features find,native-tls,github-actions,with-containers --no-fail-fast
env:
RUST_LOG: trace
- name: Run tests (rustls)
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets
- name: Test
run: cargo make test --profile development
command: test
args: --no-default-features --features find,rustls,github-actions,with-containers --no-fail-fast
env:
RUST_LOG: trace
- name: Format
run: cargo make check-format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo make lint
run: cargo clippy -- -Dwarnings
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

## 0.1.0

Released on 26/06/2022
Released on 02/03/2024

- First release
- First release

101 changes: 0 additions & 101 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 5b6496b

Please sign in to comment.