Skip to content

Generic ability

Generic ability #991

Workflow file for this run

name: Server
on:
push:
branches:
- 'main'
paths:
- '.github/workflows/server.yml'
- 'server/**'
- '!server/resources/**'
pull_request:
branches:
- 'main'
paths:
- '.github/workflows/server.yml'
- 'server/**'
- '!server/resources/**'
env:
CARGO_TERM_COLOR: always
jobs:
build_server:
name: Build Server
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v3
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Builds
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Check
run: cargo check --verbose
- name: Audit
run: cargo audit