gitui/.github/workflows/ci.yml
Stephan Dilly d9ada81214 fix ci
2020-03-27 00:25:37 +01:00

31 lines
624 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:
- name: Build
uses: actions/checkout@v2
run: cargo build --verbose
- name: Run tests
uses: actions/checkout@v2
run: cargo test --workspace -- --test-threads=1
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features