Move CI from subprojects to root.
This commit is contained in:
parent
7fa54dcb24
commit
26707be38d
2 changed files with 0 additions and 40 deletions
40
parser/.github/workflows/ci.yml
vendored
40
parser/.github/workflows/ci.yml
vendored
|
@ -1,40 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Lints and checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy --no-self-update
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Run clippy checks
|
||||
run: cargo clippy --all-targets -- -D warnings
|
||||
- name: Run format checks
|
||||
run: cargo fmt --check
|
||||
|
||||
test:
|
||||
name: Test using Rust ${{ matrix.rust }} on ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
rust: [stable]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- run: git submodule update --init
|
||||
- run: rustup toolchain install ${{ matrix.rust }} --profile minimal --no-self-update
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Run build
|
||||
run: cargo build
|
||||
- name: Run tests
|
||||
run: cargo test -v
|
Loading…
Reference in a new issue