forked from pact-foundation/pact-stub-server
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 745 Bytes
/
Copy pathbuild.yml
File metadata and controls
34 lines (32 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build
on:
push:
branches:
- master
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-latest ]
rust: [ stable, beta ]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: clippy
- name: Tests
uses: actions-rs/cargo@v1
with:
command: test
- name: Build Components
uses: actions-rs/cargo@v1
with:
command: build
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy