normogen/.forgejo/workflows/lint-and-build.yml
goose a5db33990e
Some checks failed
Lint and Build / lint-and-build (push) Failing after 1m20s
fix(ci): simplify workflow to use rust:1.83-bullseye container
2026-03-13 10:48:05 -03:00

28 lines
622 B
YAML

name: Lint and Build
on:
push:
branches: [main]
jobs:
lint-and-build:
runs-on: docker
container:
image: rust:1.83-bullseye
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y git nodejs pkg-config libssl-dev
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build Rust project
run: cargo build --release
- name: Test Rust project
run: cargo test --verbose