Add db contains #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
push: | |
branches: | |
- bitfinity_main | |
paths-ignore: | |
- README.md | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
name: Clippy, fmt and tests | |
jobs: | |
test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy, rustfmt | |
target: i686-unknown-linux-gnu | |
# - name: rustfmt | |
# run: | | |
# cargo fmt --all --check | |
# - name: clippy | |
# run: | | |
# cargo clippy --all-features --all-targets -- -D warnings | |
- name: test | |
run: | | |
./scripts/test.sh | |
- name: test i686-unknown-linux-gnu | |
run: | | |
sudo apt install gcc-multilib | |
./scripts/test.sh --target i686-unknown-linux-gnu |