mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-03-12 09:29:11 +00:00
35 lines
No EOL
721 B
YAML
35 lines
No EOL
721 B
YAML
name: Hack
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
hack:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.cargo
|
|
target
|
|
key: ${{ matrix.os }}-hack
|
|
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt install -y libboost-dev
|
|
cargo install cargo-hack --locked
|
|
|
|
- name: Hack Check
|
|
# TODO: remove the exclude when `cuprate-database` errors are fixed
|
|
run: cargo hack --workspace check --feature-powerset --no-dev-deps |