moq-rs/.github/workflows/server.yml

24 lines
376 B
YAML
Raw Normal View History

2023-05-23 03:22:25 +00:00
name: server
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
2023-05-23 03:22:25 +00:00
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-05-23 03:22:25 +00:00
- name: build
working-directory: server
run: cargo build --verbose
2023-05-23 03:22:25 +00:00
- name: test
working-directory: server
run: cargo test --verbose