Skip to content

Refactor: Consolidate permission checks and improve token handling in… #118

Refactor: Consolidate permission checks and improve token handling in…

Refactor: Consolidate permission checks and improve token handling in… #118

Workflow file for this run

name: nodeget-server-ci
on:
workflow_dispatch:
merge_group:
pull_request:
paths-ignore:
- "docs/**"
- "README.md"
push:
branches:
- main
- dev
paths-ignore:
- "docs/**"
- "README.md"
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
name: Server Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: ./.github/actions/setup-system
with:
toolchain: nightly
components: clippy
- name: Cargo clippy
working-directory: ./server
run: cargo clippy --locked --profile minimal
check:
name: Server Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: ./.github/actions/setup-system
with:
toolchain: nightly
components: clippy
- name: Cargo clippy
working-directory: ./server
run: cargo clippy --locked --profile minimal