Skip to content

chore(deps): bump serde from 1.0.193 to 1.0.196 in /server #8

chore(deps): bump serde from 1.0.193 to 1.0.196 in /server

chore(deps): bump serde from 1.0.193 to 1.0.196 in /server #8

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
Test (server):

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 13, Col: 3): The identifier 'Test (server)' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/ci.yml (Line: 27, Col: 3): The identifier 'Lint (server)' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- run: cd server
- name: Test
run: cargo test
Lint (server):
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- run: cd server
- name: Clippy
run: cargo clippy -- -D warnings
- name: Format
run: cargo fmt --check
Build (client):
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: cd client
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
Lint (client):
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: cd client
- name: Install dependencies
run: npm install
- name: Lint
run: npx prettier .