chore(deps): bump rustls from 0.23.38 to 0.23.39 #1738
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| merge_group: | |
| types: [checks_requested] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build_and_test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [stable] | |
| name: ${{ matrix.version }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install Rust (${{ matrix.version }}) | |
| uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0 | |
| with: | |
| toolchain: ${{ matrix.version }} | |
| - name: Install system packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install sqlite3 | |
| sudo apt-get -y install libpq-dev | |
| sudo apt-get -y install redis-server | |
| - name: Install DB CLI tools | |
| run: | | |
| cargo install --force sqlx-cli --no-default-features --features=sqlite,rustls | |
| cargo install --force diesel_cli --no-default-features --features=sqlite,postgres | |
| - name: Create Test DBs | |
| env: | |
| DATABASE_URL: sqlite://./todo.db | |
| run: | | |
| sqlx database create | |
| chmod a+rwx ./todo.db | |
| sqlx migrate run --source=./basics/todo/migrations | |
| - name: Start Redis | |
| run: | | |
| if ! redis-cli ping; then | |
| redis-server --daemonize yes | |
| fi | |
| redis-cli ping | |
| - name: cargo check | |
| run: cargo check --workspace --bins --examples --tests | |
| timeout-minutes: 30 | |
| - name: cargo test | |
| run: cargo test --workspace --all-features --no-fail-fast --exclude=db-diesel -- --nocapture | |
| timeout-minutes: 30 | |
| - name: cargo test (diesel) | |
| env: | |
| DATABASE_URL: test.db | |
| run: | | |
| cd databases/diesel | |
| diesel migration run | |
| chmod a+rwx test.db | |
| cargo test -p=db-diesel --no-fail-fast -- --nocapture | |
| timeout-minutes: 10 | |
| - name: Install cargo-ci-cache-clean | |
| uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18 | |
| with: | |
| tool: cargo-ci-cache-clean | |
| - name: CI cache clean | |
| run: cargo-ci-cache-clean |