Skip to content

JWT claims implementation (preferred_username, groups) for Status Dashboard rbac model #25

JWT claims implementation (preferred_username, groups) for Status Dashboard rbac model

JWT claims implementation (preferred_username, groups) for Status Dashboard rbac model #25

Workflow file for this run

name: Execute tests and coverage
on:
push:
branches:
- main
- master
pull_request:
env:
CARGO_TERM_COLOR: 'always'
jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: make fmt-check
- name: Run linter
run: make lint
- name: Run tests
run: make test
coverage:
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:0.35.1
options: --security-opt seccomp=unconfined
needs: test
steps:
- uses: actions/checkout@v4
- name: Run tests with coverage
run: make coverage-check