holy_lisp/.forgejo/workflows/rust.yaml

25 lines
503 B
YAML
Raw Normal View History

2024-07-15 07:21:21 +00:00
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
2024-07-15 07:28:32 +00:00
runs-on: ubuntu-22.04
2024-07-15 07:21:21 +00:00
steps:
- uses: actions/checkout@v4
- name: Setup
2024-07-15 07:35:26 +00:00
run: DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive apt-get -yq install cargo
2024-07-15 07:21:21 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose