JWT implementation #15
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: Rust | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
KSOX_SERVER_API_BIND: 0.0.0.0:80 | |
jobs: | |
prettier: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/setup-node@v3 | |
- name: Check formatting with prettier | |
run: npx prettier --check . | |
fmt: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check formatting with cargo fmt | |
run: cargo fmt -- --check | |
clippy: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Clippy | |
run: cargo clippy -- -D warnings | |
test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: cargo test --verbose |