Skip to content

cloudflare sbd-server #63

cloudflare sbd-server

cloudflare sbd-server #63

Workflow file for this run

name: Static Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
static-analysis:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
]
toolchain: [
stable,
1.75.0
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Rust Toolchain
run: |
rustup toolchain install ${{ matrix.toolchain }} --profile minimal --no-self-update
rustup default ${{ matrix.toolchain }}
rustup component add rustfmt --toolchain ${{ matrix.toolchain }}
rustup component add clippy --toolchain ${{ matrix.toolchain }}
- name: NodeJS Setup
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
cache-dependency-path: ts/sbd-server/package-lock.json
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Make Static
run: make static