From 26707be38de5e2bb350e4ff755bf131158e90446 Mon Sep 17 00:00:00 2001 From: Ethiraric Date: Thu, 17 Oct 2024 19:25:19 +0200 Subject: [PATCH] Move CI from subprojects to root. --- {saphyr/.github => .github}/workflows/ci.yml | 0 parser/.github/workflows/ci.yml | 40 -------------------- 2 files changed, 40 deletions(-) rename {saphyr/.github => .github}/workflows/ci.yml (100%) delete mode 100644 parser/.github/workflows/ci.yml diff --git a/saphyr/.github/workflows/ci.yml b/.github/workflows/ci.yml similarity index 100% rename from saphyr/.github/workflows/ci.yml rename to .github/workflows/ci.yml diff --git a/parser/.github/workflows/ci.yml b/parser/.github/workflows/ci.yml deleted file mode 100644 index aa3a0fc..0000000 --- a/parser/.github/workflows/ci.yml +++ /dev/null @@ -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