Update sqlx to 0.8.2 (#996) #2469
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
name: ci-macos | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- '**.rs' # only execute on changes to go files | |
- '**/Cargo.toml' # or dependency updates | |
- '.github/workflows/**' # or workflow changes | |
push: | |
branches: | |
- main | |
paths: | |
- '**.rs' # only execute on changes to go files | |
- '**/Cargo.toml' # or dependency updates | |
- '.github/workflows/**' # or workflow changes | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- stable | |
# - nightly | |
name: Check ${{ matrix.version }} - x86_64-apple-darwin | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.version }} | |
components: rustfmt, clippy | |
- name: check build | |
run: cargo check --all --bins --examples --tests | |
- name: check release build | |
run: cargo check --all --bins --examples --tests --release | |
- name: Cargo test | |
timeout-minutes: 40 | |
run: cargo test --all --all-features --no-fail-fast -- --nocapture |