Skip to content

Update Rust crate jsonwebtoken to v10.4.0 #2065

Update Rust crate jsonwebtoken to v10.4.0

Update Rust crate jsonwebtoken to v10.4.0 #2065

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-24.04
services:
postgres: &setup-postgres
image: postgres
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: |
rustup toolchain install
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: |
cargo test --no-default-features
env: &test-env
RUST_BACKTRACE: "1"
TEST_DATABASE: postgres://test:test@localhost
RUST_LOG: v=trace,turnstile=trace
test-all:
runs-on: ubuntu-24.04
services:
postgres: *setup-postgres
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: |
rustup toolchain install
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: |
cargo test --all-features
env: *test-env