16 lines
340 B
YAML
16 lines
340 B
YAML
name: build
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: docker
|
|
container: rust:1-bookworm
|
|
steps:
|
|
- name: Checkout
|
|
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
|
|
|
- name: Build
|
|
run: cargo build --workspace
|
|
|
|
- name: Test
|
|
run: cargo test --workspace --quiet
|