Something went wrong. Try again.
AtAuth
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105name: CI
on: push: branches: [main] pull_request: branches: [main]
env: CARGO_TERM_COLOR: always
jobs: rust: name: Rust runs-on: ubuntu-latest steps: - uses: actions/checkout@v4
- name: Install Rust toolchain uses: dtolnay/rust-action@stable with: components: rustfmt, clippy
- name: Cache cargo uses: actions/cache@v4 with: path: | ~/.cargo/bin/ ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Check formatting run: cargo fmt --all -- --check
- name: Run clippy run: cargo clippy --all-features -- -D warnings
- name: Build run: cargo build --all-features
- name: Run tests run: cargo test --all-features
typescript: name: TypeScript runs-on: ubuntu-latest defaults: run: working-directory: ts steps: - uses: actions/checkout@v4
- name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' cache-dependency-path: ts/package-lock.json
- name: Install dependencies run: npm ci
- name: Type check run: npm run typecheck
- name: Lint run: npm run lint
- name: Build run: npm run build
- name: Test run: npm test
gateway: name: Gateway runs-on: ubuntu-latest defaults: run: working-directory: gateway steps: - uses: actions/checkout@v4
- name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' cache-dependency-path: gateway/package-lock.json
- name: Install dependencies run: npm ci
- name: Type check run: npm run typecheck
- name: Lint run: npm run lint
- name: Build run: npm run build