chore(deps): bump h2 from 0.3.21 to 0.3.24 #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Instrumentality Run. | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
run: | |
name: Run. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout. | |
uses: actions/checkout@v3 | |
- name: Start MongoDB. | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: '5.0' | |
mongodb-replica-set: itest | |
- name: Rust Toolchain. | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
override: true | |
- name: Create TLS certificates. | |
run: | | |
mkdir tls | |
openssl req -x509 -newkey rsa:4096 -keyout tls/privkey.pem -out tls/cert.pem -days 365 -nodes -subj '/CN=localhost' | |
- name: Create config file. | |
run: | | |
cp InstrumentalityExample.toml Instrumentality.toml | |
- name: Cargo Build for Release. | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Run. | |
run: | | |
cargo run --release > OUTPUT & | |
process_id=$! | |
sleep 30s | |
kill -9 $process_id | |
grep "READY: https://127.0.0.1:12321." OUTPUT |