-
Notifications
You must be signed in to change notification settings - Fork 19
30 lines (27 loc) · 884 Bytes
/
ci.yml
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
name: Continuous Integration
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Build and check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
rustflags: ""
- name: Download Parsec Mock, install dependencies and execute all tests
uses: ./.github/actions/mock_tests
build-msrv:
name: MSRV - Build and check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust MSRV
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.66.0
rustflags: ""
- name: Download Parsec Mock, install dependencies and execute all tests
uses: ./.github/actions/mock_tests