-
Notifications
You must be signed in to change notification settings - Fork 16
32 lines (32 loc) · 963 Bytes
/
tls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This workflow will make use of Faktory put behind NGINX to test
# the crate's tls feature (see docker dir in the project's root)
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: tls
jobs:
test:
runs-on: ubuntu-latest
name: ubuntu-latest / stable / tls
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Launch Faktory behind NGINX
run: docker compose -f docker/compose.yml up -d --build
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: Run tests
env:
FAKTORY_URL_SECURE: tcp://localhost:17419
run: cargo test --locked --features native_tls,rustls --test tls