Skip to content

Add docker build action #7

Add docker build action

Add docker build action #7

Workflow file for this run

name: Build, Lint, Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_call:
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all -- -D warnings
- name: Run tests
run: cargo test