forked from lavina/lavina
pull-request workflow (#15)
This commit is contained in:
parent
58f6a5d90a
commit
563811cbca
|
@ -0,0 +1,19 @@
|
||||||
|
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
|
||||||
|
args: --workspace -- --skip projections::irc
|
Loading…
Reference in New Issue