Skip to content

👷 Add Continuous Integration Pipeline (#2) #1

👷 Add Continuous Integration Pipeline (#2)

👷 Add Continuous Integration Pipeline (#2) #1

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Dependencies
run: cargo check --release --all-targets --locked --verbose
- name: Check formatting
run: cargo fmt --all -- --check --verbose
- name: Run linter
run: cargo clippy -- -D warnings
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose