• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: master
2on:
3  push:
4    branches:
5      - master
6  schedule:
7    - cron: '0 0 * * 0' # 00:00 Sunday
8
9jobs:
10
11  test:
12    name: Test
13    runs-on: ubuntu-latest
14    strategy:
15      matrix:
16        rust: [1.0.0, stable]
17    steps:
18      - name: Checkout
19        uses: actions/checkout@v2
20      - name: Install
21        uses: actions-rs/toolchain@v1
22        with:
23          toolchain: ${{ matrix.rust }}
24          profile: minimal
25          override: true
26      - name: Build
27        uses: actions-rs/cargo@v1
28        with:
29          command: build
30          args: --verbose
31      - name: Test
32        uses: actions-rs/cargo@v1
33        with:
34          command: test
35          args: --verbose
36