forked from lavina/lavina
19 lines
466 B
YAML
19 lines
466 B
YAML
name: check-and-test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: git checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: setup rust
|
|
uses: https://github.com/actions-rs/toolchain@v1
|
|
- name: cargo check
|
|
uses: https://github.com/actions-rs/cargo@v1
|
|
with:
|
|
command: check
|
|
- name: test
|
|
uses: https://github.com/actions-rs/cargo@v1
|
|
with:
|
|
command: test
|