diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 8774054fb..000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Continuous Integration -on: - push: - paths: - - "**.rs" - - "Cargo.lock" - - "Cargo.toml" - - "**.json" - pull_request: - paths: - - "**.rs" - - "Cargo.lock" - - "Cargo.toml" - - "**.json" - -jobs: - lint: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - lint: [check, test, clippy, fmt] - exclude: # https://github.com/community/community/discussions/7835 - - os: windows-latest - lint: clippy - - os: windows-latest - lint: fmt - - os: macOS-latest - lint: clippy - - os: macOS-latest - lint: fmt - include: - - lint: check - args: " --all-features" - - lint: test - args: "" - - lint: clippy - args: " --all --all-features -- -D warnings" - - lint: fmt - args: " --all -- --check" - steps: - - uses: actions/checkout@v3 - - uses: rui314/setup-mold@v1 # faster linker - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target - key: ${{ runner.os }}-${{ matrix.lint }}-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.OS }}-${{ matrix.lint }}- - - uses: dtolnay/rust-toolchain@stable - with: - components: clippy,rustfmt - - run: cargo ${{ matrix.lint }}${{ matrix.args }}