1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

Adding auto OpenSSL ACME Let's Encrypt example. (#523)

Co-authored-by: Lajto Mekadimon <85128868+lajtomekadimon@users.noreply.github.com>
This commit is contained in:
Rob Ede
2022-02-06 16:31:44 +00:00
committed by GitHub
parent af73a0c7ab
commit 0b74135fb0
6 changed files with 357 additions and 8 deletions

View File

@ -50,13 +50,14 @@ jobs:
components: clippy
override: true
- name: create test db for sqlx
run: |
sudo apt-get update && sudo apt-get install sqlite3
cd database_interactions/sqlx_todo
cp .env.example .env
cat schema.sql | sqlite3 test.db
chmod a+rwx test.db
# - name: Create test DBs
# run: |
# sudo apt-get update && sudo apt-get install sqlite3
# cargo install sqlx-cli --no-default-features --features=rustls,sqlite
# cd basics/todo
# DATABASE_URL="sqlite://./todo.db" sqlx database create
# chmod a+rwx todo.db
# DATABASE_URL="sqlite://./todo.db" sqlx migrate run
- name: clippy
uses: actions-rs/clippy-check@v1