forked from kemitix/git-next
Paul Campbell
0f7d1a8d42
Has both on-docker and on-builder variants while I workout which I can get to work.
24 lines
349 B
YAML
24 lines
349 B
YAML
name: Rust
|
|
|
|
on:
|
|
push:
|
|
branches: ["next"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: git-next-builder
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
|
|
- name: Run tests
|
|
run: cargo test --verbose
|