fix?(docker): add sqlite3 to the docker image #218
This file contains hidden or 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
| name: Rust | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| ci: | |
| env: | |
| RUST_BACKTRACE: 1 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: | |
| - stable | |
| - nightly | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| override: true | |
| components: rustfmt | |
| - name: Load cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Format host | |
| run: | | |
| cargo fmt --all -- --check | |
| - name: Check host | |
| run: | | |
| cargo check --all --verbose | |
| ci-modules: | |
| env: | |
| RUST_BACKTRACE: 1 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: | |
| - stable | |
| - nightly | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| targets: wasm32-unknown-unknown | |
| components: rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| #- name: Format modules | |
| # run: | | |
| # cargo fmt --all --manifest-path ./modules/Cargo.toml -- --check | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install wasm compile tools | |
| working-directory: ./modules/ | |
| run: | | |
| # Keep those values in sync with the Makefile! | |
| wget https://github.com/bytecodealliance/wasm-tools/releases/download/v1.229.0/wasm-tools-1.229.0-x86_64-linux.tar.gz | |
| tar pfx wasm-tools-1.229.0-x86_64-linux.tar.gz | |
| mv wasm-tools-1.229.0-x86_64-linux/wasm-tools . | |
| chmod +x wasm-tools | |
| mv wasm-tools /usr/local/bin | |
| wget https://github.com/bytecodealliance/wit-bindgen/releases/download/v0.41.0/wit-bindgen-0.41.0-x86_64-linux.tar.gz | |
| tar pfx wit-bindgen-0.41.0-x86_64-linux.tar.gz | |
| mv wit-bindgen-0.41.0-x86_64-linux/wit-bindgen . | |
| chmod +x wit-bindgen | |
| mv wit-bindgen /usr/local/bin | |
| - name: Check modules | |
| working-directory: ./modules/ | |
| run: make check |