gitui/.github/workflows/ci.yml
2020-03-27 00:50:02 +01:00

27 lines
523 B
YAML

name: CI
on:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --workspace -- --test-threads=1
- name: Run clippy
run: cargo clean && cargo clippy --all-features